summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/systeminfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/systeminfo.h')
-rw-r--r--rbutil/rbutilqt/base/systeminfo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/systeminfo.h b/rbutil/rbutilqt/base/systeminfo.h
index fad2c7e48b..b5380f1af5 100644
--- a/rbutil/rbutilqt/base/systeminfo.h
+++ b/rbutil/rbutilqt/base/systeminfo.h
@@ -57,6 +57,9 @@ class SystemInfo : public QObject
ThemesUrl,
ThemesInfoUrl,
RbutilUrl,
+ };
+
+ enum PlatformInfo {
CurPlatformName,
CurManual,
CurBootloaderMethod,
@@ -90,7 +93,7 @@ class SystemInfo : public QObject
//! get a value from system settings
static QVariant value(enum SystemInfos info);
//! get a value from system settings for a named platform.
- static QVariant platformValue(QString platform, enum SystemInfos info);
+ static QVariant platformValue(enum PlatformInfo info, QString platform = "");
private:
//! you shouldnt call this, its a fully static calls