Files
haiku-beta6/headers/private/index_server/TextDataBase.h
T

27 lines
517 B
C++
Raw Normal View History

2010-10-28 15:22:52 +00:00
/*
* Copyright 2010, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Clemens Zeidler <[email protected]>
*/
#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