Parent: [a93e61] (diff)

Child: [548a4c] (diff)

Download this file

indexer.h    23 lines (19 with data), 649 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _INDEXER_H_INCLUDED_
#define _INDEXER_H_INCLUDED_
/* @(#$Id: indexer.h,v 1.5 2005-03-17 15:35:49 dockes Exp $ (C) 2004 J.F.Dockes */
#include "rclconfig.h"
class DbIndexer;
/**
* The file system indexing object. Processes the configuration, then invokes
* file system walking to populate/update the database(s).
*/
class ConfIndexer {
RclConfig *config;
DbIndexer *indexer; // Internal object used to store opaque private data
public:
enum runStatus {IndexerOk, IndexerError};
ConfIndexer(RclConfig *cnf) : config(cnf), indexer(0) {}
virtual ~ConfIndexer();
bool index();
};
#endif /* _INDEXER_H_INCLUDED_ */