2013-02-11 14:01:00 +00:00
|
|
|
#ifndef LAUNCHERSETTINGS_HPP
|
|
|
|
#define LAUNCHERSETTINGS_HPP
|
|
|
|
|
|
|
|
#include "settingsbase.hpp"
|
|
|
|
|
2013-12-24 23:50:25 +00:00
|
|
|
namespace Config
|
2013-02-11 14:01:00 +00:00
|
|
|
{
|
2013-10-25 16:17:26 +00:00
|
|
|
class LauncherSettings : public SettingsBase<QMap<QString, QString> >
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
LauncherSettings();
|
|
|
|
~LauncherSettings();
|
2013-02-11 14:01:00 +00:00
|
|
|
|
2013-10-25 16:17:26 +00:00
|
|
|
QStringList subKeys(const QString &key);
|
|
|
|
QStringList values(const QString &key, Qt::MatchFlags flags = Qt::MatchExactly);
|
2013-02-15 00:20:48 +00:00
|
|
|
|
2013-10-25 16:17:26 +00:00
|
|
|
bool writeFile(QTextStream &stream);
|
2013-02-11 14:01:00 +00:00
|
|
|
|
2013-10-25 16:17:26 +00:00
|
|
|
};
|
|
|
|
}
|
2013-02-11 14:01:00 +00:00
|
|
|
#endif // LAUNCHERSETTINGS_HPP
|