obliteration/gui/settings.hpp
2024-10-03 08:43:26 +02:00

20 lines
443 B
C++

#pragma once
#include <QString>
bool hasRequiredUserSettings();
bool hasSystemDirectorySetting();
QString readSystemDirectorySetting();
void writeSystemDirectorySetting(const QString &v);
bool hasGamesDirectorySetting();
QString readGamesDirectorySetting();
void writeGamesDirectorySetting(const QString &v);
// Group registry for QSettings.
namespace SettingGroups {
extern const QString user;
extern const QString mainWindow;
}