From 3a047f189afc12b40507835d82aea7e4f2a481a9 Mon Sep 17 00:00:00 2001 From: dockes Date: Tue, 10 Nov 2009 17:39:34 +0000 Subject: [PATCH] comments --- src/index/indexer.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/index/indexer.h b/src/index/indexer.h index 2eff4196..e5a15135 100644 --- a/src/index/indexer.h +++ b/src/index/indexer.h @@ -96,12 +96,12 @@ Single file(s) indexing: no database purging or stem db updating. */ class DbIndexer : public FsTreeWalkerCB { public: - /** Constructor does nothing but store parameters */ - DbIndexer(RclConfig *cnf, // Configuration data - // Db dir not used anymore, rcl::db gets it from the cfg - const string &, - DbIxStatusUpdater *updfunc = 0 // status updater callback - ) + /** Constructor does nothing but store parameters + * + * @param cnf Configuration data + * @param updfunc Status updater callback + */ + DbIndexer(RclConfig *cnf, DbIxStatusUpdater *updfunc = 0) : m_config(cnf), m_db(cnf), m_updater(updfunc) { m_havelocalfields = m_config->hasNameAnywhere("localfields"); @@ -138,8 +138,7 @@ class DbIndexer : public FsTreeWalkerCB { /** Tree walker callback method */ FsTreeWalker::Status - processone(const string &, const struct stat *, - FsTreeWalker::CbFlag); + processone(const string &, const struct stat *, FsTreeWalker::CbFlag); /** Return my db dir */ string getDbDir() {return m_config->getDbDir();}