2 * Copyright 2010, Haiku.
3 * Distributed under the terms of the MIT License.
6 * Clemens Zeidler <haiku@clemens-zeidler.de>
8 #ifndef TEXT_DATA_BASE_H
9 #define TEXT_DATA_BASE_H
15 class TextWriteDataBase
{
17 virtual ~TextWriteDataBase() {}
19 virtual status_t
InitCheck() = 0;
21 virtual status_t
AddDocument(const entry_ref
& ref
) = 0;
22 virtual status_t
RemoveDocument(const entry_ref
& ref
) = 0;
23 virtual status_t
Commit() = 0;
27 #endif // TEXT_DATA_BASE_H