|
a/src/index/indexer.h |
|
b/src/index/indexer.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _INDEXER_H_INCLUDED_
|
17 |
#ifndef _INDEXER_H_INCLUDED_
|
18 |
#define _INDEXER_H_INCLUDED_
|
18 |
#define _INDEXER_H_INCLUDED_
|
19 |
/* @(#$Id: indexer.h,v 1.24 2007-07-10 09:23:28 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: indexer.h,v 1.25 2007-08-30 09:01:52 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
|
20 |
|
21 |
#include <string>
|
21 |
#include <string>
|
22 |
#include <list>
|
22 |
#include <list>
|
23 |
|
23 |
|
24 |
#ifndef NO_NAMESPACES
|
24 |
#ifndef NO_NAMESPACES
|
|
... |
|
... |
94 |
/** Constructor does nothing but store parameters */
|
94 |
/** Constructor does nothing but store parameters */
|
95 |
DbIndexer(RclConfig *cnf, // Configuration data
|
95 |
DbIndexer(RclConfig *cnf, // Configuration data
|
96 |
const string &dbd, // Place where the db lives
|
96 |
const string &dbd, // Place where the db lives
|
97 |
DbIxStatusUpdater *updfunc = 0 // status updater callback
|
97 |
DbIxStatusUpdater *updfunc = 0 // status updater callback
|
98 |
)
|
98 |
)
|
99 |
: m_config(cnf), m_dbdir(dbd), m_updater(updfunc) {
|
99 |
: m_config(cnf), m_dbdir(dbd), m_updater(updfunc)
|
100 |
}
|
100 |
{}
|
101 |
|
101 |
|
102 |
virtual ~DbIndexer();
|
102 |
virtual ~DbIndexer();
|
103 |
|
103 |
|
104 |
/** Top level file system tree index method for updating a
|
104 |
/** Top level file system tree index method for updating a
|
105 |
given database.
|
105 |
given database.
|