+ bool Manager::setBookIndex(const string id, const string path)

This commit is contained in:
kelson42 2014-08-30 10:37:52 -06:00
parent baf8e37b4f
commit 45fccb2e38
2 changed files with 5 additions and 0 deletions

View File

@ -427,6 +427,10 @@ namespace kiwix {
return false;
}
bool Manager::setBookIndex(const string id, const string path) {
return this->setBookIndex(id, path, XAPIAN);
}
bool Manager::setBookPath(const string id, const string path) {
std::vector<kiwix::Book>::iterator itr;
for ( itr = library.books.begin(); itr != library.books.end(); ++itr ) {

View File

@ -54,6 +54,7 @@ namespace kiwix {
bool setCurrentBookId(const string id);
string getCurrentBookId();
bool setBookIndex(const string id, const string path, const supportedIndexType type);
bool setBookIndex(const string id, const string path);
bool setBookPath(const string id, const string path);
string addBookFromPathAndGetId(const string pathToOpen, const string pathToSave = "", const string url = "",
const bool checkMetaData = false);