+ better indentation

This commit is contained in:
kelson42 2010-11-02 19:13:21 +00:00
parent b4ab94e4c0
commit 4484623e67
2 changed files with 7 additions and 3 deletions

View File

@ -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));

View File

@ -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;