1/*
2 * Copyright 2010, Haiku.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Clemens Zeidler <haiku@clemens-zeidler.de>
7 */
8#ifndef TEXT_DATA_BASE_H
9#define TEXT_DATA_BASE_H
10
11
12#include <Entry.h>
13
14
15class TextWriteDataBase {
16public:
17	virtual						~TextWriteDataBase() {}
18
19	virtual	status_t			InitCheck() = 0;
20
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;
24};
25
26
27#endif // TEXT_DATA_BASE_H