00001
00002
00003
00004
00005
00006
00007 #ifndef __UNICONFINI_H
00008 #define __UNICONFINI_H
00009
00010 #include "unitempgen.h"
00011 #include "wvlog.h"
00012
00022 class UniIniGen : public UniTempGen
00023 {
00024 WvString filename;
00025 int create_mode;
00026 WvLog log;
00027
00028 public:
00033 UniIniGen(WvStringParm filename, int _create_mode = 0666);
00034
00035 virtual ~UniIniGen();
00036
00037
00038
00039 virtual void commit();
00040 virtual bool refresh();
00041
00042 private:
00043 void save(WvStream &file, UniConfValueTree &parent);
00044 bool refreshcomparator(const UniConfValueTree *a,
00045 const UniConfValueTree *b, void *userdata);
00046 };
00047
00048
00049 #endif // __UNICONFINI_H