Switch to side-by-side view

--- a/src/index/indexer.h
+++ b/src/index/indexer.h
@@ -1,18 +1,17 @@
 #ifndef _INDEXER_H_INCLUDED_
 #define _INDEXER_H_INCLUDED_
-/* @(#$Id: indexer.h,v 1.3 2005-01-25 14:37:21 dockes Exp $  (C) 2004 J.F.Dockes */
+/* @(#$Id: indexer.h,v 1.4 2005-01-31 14:31:09 dockes Exp $  (C) 2004 J.F.Dockes */
 
 #include "rclconfig.h"
-
-#if 0
-class FsIndexer {
-    const ConfTree &conf;
+class DbIndexer;
+class ConfIndexer {
+    RclConfig *config;
+    DbIndexer *indexer;
  public:
     enum runStatus {IndexerOk, IndexerError};
-    Indexer(const ConfTree &cnf): conf(cnf) {}
-    virtual ~Indexer() {}
-    runStatus run() = 0;
+    ConfIndexer(RclConfig *cnf) : config(cnf), indexer(0) {}
+    virtual ~ConfIndexer();
+    bool index();
 };
-#endif
 
 #endif /* _INDEXER_H_INCLUDED_ */