mirror of https://github.com/kiwix/libkiwix.git
+ better indentation
This commit is contained in:
parent
b4ab94e4c0
commit
4484623e67
|
@ -100,7 +100,8 @@ namespace kiwix {
|
||||||
std::cout << "Indexing " << url << "..." << std::endl;
|
std::cout << "Indexing " << url << "..." << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
this->indexNextArticle(url, this->htmlParser.title,
|
this->indexNextArticle(url,
|
||||||
|
this->htmlParser.title,
|
||||||
removeAccents(this->htmlParser.title),
|
removeAccents(this->htmlParser.title),
|
||||||
removeAccents(this->htmlParser.keywords),
|
removeAccents(this->htmlParser.keywords),
|
||||||
removeAccents(this->htmlParser.dump));
|
removeAccents(this->htmlParser.dump));
|
||||||
|
|
|
@ -25,8 +25,11 @@ namespace kiwix {
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void indexNextPercentPre() = 0;
|
virtual void indexNextPercentPre() = 0;
|
||||||
virtual void indexNextArticle(string &url, string &title, string &unaccentedTitle,
|
virtual void indexNextArticle(const string &url,
|
||||||
string &keywords, string &content) = 0;
|
const string &title,
|
||||||
|
const string &unaccentedTitle,
|
||||||
|
const string &keywords,
|
||||||
|
const string &content) = 0;
|
||||||
virtual void indexNextPercentPost() = 0;
|
virtual void indexNextPercentPost() = 0;
|
||||||
virtual void stopIndexing() = 0;
|
virtual void stopIndexing() = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue