mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-11 04:35:44 -08:00
19 lines
455 B
C++
19 lines
455 B
C++
#ifndef SERVATRICE_SETTINGSCACHE_H
|
|
#define SERVATRICE_SETTINGSCACHE_H
|
|
|
|
#include <QSettings>
|
|
#include <QString>
|
|
|
|
class SettingsCache : public QSettings {
|
|
Q_OBJECT
|
|
private:
|
|
QSettings *settings;
|
|
public:
|
|
SettingsCache(const QString & fileName="servatrice.ini", QSettings::Format format=QSettings::IniFormat, QObject * parent = 0);
|
|
static QString guessConfigurationPath(QString & specificPath);
|
|
};
|
|
|
|
extern SettingsCache *settingsCache;
|
|
|
|
#endif
|