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;
|
||||
}
|
||||
|
||||
this->indexNextArticle(url, this->htmlParser.title,
|
||||
this->indexNextArticle(url,
|
||||
this->htmlParser.title,
|
||||
removeAccents(this->htmlParser.title),
|
||||
removeAccents(this->htmlParser.keywords),
|
||||
removeAccents(this->htmlParser.dump));
|
||||
|
|
|
@ -25,8 +25,11 @@ namespace kiwix {
|
|||
|
||||
protected:
|
||||
virtual void indexNextPercentPre() = 0;
|
||||
virtual void indexNextArticle(string &url, string &title, string &unaccentedTitle,
|
||||
string &keywords, string &content) = 0;
|
||||
virtual void indexNextArticle(const string &url,
|
||||
const string &title,
|
||||
const string &unaccentedTitle,
|
||||
const string &keywords,
|
||||
const string &content) = 0;
|
||||
virtual void indexNextPercentPost() = 0;
|
||||
virtual void stopIndexing() = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue