]> ruin.nu Git - hbs.git/blobdiff - bs/bsconf.h
Can now load the stats and race configurations..
[hbs.git] / bs / bsconf.h
index 49a1d75b509e258f8f274dd83f4da16253e751f4..9711c698a73046e11a4fea94305301ddd6bca577 100644 (file)
@@ -19,6 +19,7 @@
 #define BSCONF_H
 
 #include <qobject.h>
+#include <qstring.h>
 
 /**
   *@author Michael Andreen
 
 class BSConf : public QObject
 {
-       Q_Object
-public: 
+       Q_OBJECT
+
+       public:
        BSConf();
        ~BSConf();
+
+       bool load();
+       bool save();
+
+signals:
+       void configurationChanged();
+
+protected:
+       bool m_modified;
+       QString m_sRaceFilename;
+       QString m_sStatsFilename;
+
+       bool loadStats();
+       bool saveStats();
+       bool loadRace();
+       bool saveRace();
 };
 
 #endif