#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