haiku/headers/private/index_server/TextDataBase.h
Clemens Zeidler 3a88830daa Add a CLucene full-text add-on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 15:22:52 +00:00

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