00001
00002
00003
00004
00005
00006
00007 #ifndef __UNICONFFILETREEGEN_H
00008 #define __UNICONFFILETREEGEN_H
00009
00010 #include "uniconfgen.h"
00011 #include "unitempgen.h"
00012 #include "wvlog.h"
00013 #include "unimounttreegen.h"
00014
00015 class UniConfFileTreeGen : public UniMountTreeGen
00016 {
00017 public:
00018 WvString basedir, moniker;
00019 WvLog log;
00020
00021 UniConfFileTreeGen(WvStringParm _basedir, WvStringParm _moniker);
00022 virtual ~UniConfFileTreeGen() { }
00023
00024
00025
00026 virtual bool refresh();
00027
00028 private:
00029
00030 };
00031 #if 0
00032 class UniConfFileTreeGen::NodeIter : public UniConfFileTreeGen::Iter
00033 {
00034 protected:
00035 UniConfValueTree::Iter xit;
00036
00037 public:
00038 NodeIter(UniConfValueTree &node) : xit(node)
00039 { }
00040
00041
00042
00043 virtual void rewind()
00044 { xit.rewind(); }
00045 virtual bool next()
00046 { return xit.next(); }
00047 virtual UniConfKey key() const
00048 { return xit->key(); }
00049 };
00050 #endif
00051 #endif // __UNICONFFILETREEGEN_H