Dummy application of new libzim search API

Didn't take any advantage of the new libzim search API. Just fixed the
libkiwix build in the most straightforward way.
This commit is contained in:
Veloman Yunkan
2021-05-15 23:24:58 +04:00
parent 5188355878
commit cd02b4de3b
3 changed files with 47 additions and 51 deletions

View File

@ -27,7 +27,7 @@
#include <cctype>
#include <locale>
#include <string>
#include <vector>
#include <memory>
#include <vector>
#include "tools/pathTools.h"
#include "tools/stringTools.h"
@ -154,7 +154,7 @@ class Searcher
const bool verbose = false);
std::vector<Reader*> readers;
SearcherInternal* internal;
std::unique_ptr<SearcherInternal> internal;
std::string searchPattern;
unsigned int estimatedResultCount;
unsigned int resultStart;