fix >= 0.7.1 update problems with PokerTH distributed default styles

This commit is contained in:
doitux
2010-07-11 20:36:50 +00:00
parent f2dc22324e
commit bd01ffad9f
11 changed files with 68 additions and 11 deletions
+2
View File
@@ -47,6 +47,8 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
myQtToolsInterface = CreateQtToolsWrapper();
myConfigState = OK;
// !!!! Revisionsnummer der Configdefaults !!!!!
configRev = 83;
+2 -1
View File
@@ -25,7 +25,7 @@
#include <boost/thread.hpp>
enum ConfigState { NONEXISTING, OLD };
enum ConfigState { NONEXISTING, OLD, OK };
enum ConfigType { CONFIG_TYPE_INT, CONFIG_TYPE_STRING, CONFIG_TYPE_INT_LIST, CONFIG_TYPE_STRING_LIST };
class QtToolsInterface;
@@ -40,6 +40,7 @@ public:
void writeBuffer() const;
void updateConfig(ConfigState);
ConfigState getConfigState() const { return myConfigState; }
std::string readConfigString(std::string varName) const;
std::list<std::string> readConfigStringList(std::string varName) const;