3a88830daa
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39172 a95241bf-73f2-0310-859d-f6bbb57e9c96
27 lines
517 B
C++
27 lines
517 B
C++
/*
|
|
* Copyright 2010, Haiku.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Clemens Zeidler <haiku@clemens-zeidler.de>
|
|
*/
|
|
#ifndef TEXT_DATA_BASE_H
|
|
#define TEXT_DATA_BASE_H
|
|
|
|
|
|
#include <Entry.h>
|
|
|
|
|
|
class TextWriteDataBase {
|
|
public:
|
|
virtual ~TextWriteDataBase() {}
|
|
|
|
virtual status_t InitCheck() = 0;
|
|
|
|
virtual status_t AddDocument(const entry_ref& ref) = 0;
|
|
virtual status_t RemoveDocument(const entry_ref& ref) = 0;
|
|
virtual status_t Commit() = 0;
|
|
};
|
|
|
|
|
|
#endif // TEXT_DATA_BASE_H
|