Config File has a new item: ConfigRev. It will be incremented for every new config item. Constructor of ConfigFile check the Revision Number in the local Config File. If it is to old config file will be deleted and a new one with default values will be created.

This commit is contained in:
doitux
2007-01-27 16:34:16 +00:00
parent 4f4680225d
commit dd292e5da5
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ public:
private:
std::string configFileName;
int configRev;
};