Move the searcher cache into the Library

This commit is contained in:
Matthieu Gautier
2022-04-27 15:18:09 +02:00
parent 740581c55c
commit f5af0633ec
4 changed files with 30 additions and 12 deletions

View File

@ -26,6 +26,7 @@
#include <memory>
#include <mutex>
#include <zim/archive.h>
#include <zim/search.h>
#include "book.h"
#include "bookmark.h"
@ -207,6 +208,7 @@ class Library
DEPRECATED std::shared_ptr<Reader> getReaderById(const std::string& id);
std::shared_ptr<zim::Archive> getArchiveById(const std::string& id);
std::shared_ptr<zim::Searcher> getSearcherById(const std::string& id);
/**
* Remove a book from the library.