diff options
Diffstat (limited to 'rbutil/rbutilqt/base/systeminfo.h')
-rw-r--r-- | rbutil/rbutilqt/base/systeminfo.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/rbutil/rbutilqt/base/systeminfo.h b/rbutil/rbutilqt/base/systeminfo.h index c4afe4b27d..12b9eb4bfb 100644 --- a/rbutil/rbutilqt/base/systeminfo.h +++ b/rbutil/rbutilqt/base/systeminfo.h | |||
@@ -34,15 +34,21 @@ class SystemInfo : public QObject | |||
34 | MapIncompatible, | 34 | MapIncompatible, |
35 | }; | 35 | }; |
36 | 36 | ||
37 | enum BuildType { | ||
38 | BuildCurrent, | ||
39 | BuildDaily, | ||
40 | BuildRelease, | ||
41 | BuildCandidate | ||
42 | }; | ||
43 | |||
37 | //! All system settings | 44 | //! All system settings |
38 | enum SystemInfos { | 45 | enum SystemInfos { |
46 | BuildUrl, | ||
47 | FontUrl, | ||
48 | VoiceUrl, | ||
39 | ManualUrl, | 49 | ManualUrl, |
40 | BleedingUrl, | ||
41 | BootloaderUrl, | 50 | BootloaderUrl, |
42 | BootloaderInfoUrl, | 51 | BootloaderInfoUrl, |
43 | DailyUrl, | ||
44 | DailyFontUrl, | ||
45 | DailyVoiceUrl, | ||
46 | DoomUrl, | 52 | DoomUrl, |
47 | Duke3DUrl, | 53 | Duke3DUrl, |
48 | QuakeUrl, | 54 | QuakeUrl, |
@@ -50,9 +56,6 @@ class SystemInfo : public QObject | |||
50 | Wolf3DUrl, | 56 | Wolf3DUrl, |
51 | XWorldUrl, | 57 | XWorldUrl, |
52 | ReleaseUrl, | 58 | ReleaseUrl, |
53 | CandidateUrl, | ||
54 | ReleaseVoiceUrl, | ||
55 | ReleaseFontUrl, | ||
56 | BuildInfoUrl, | 59 | BuildInfoUrl, |
57 | GenlangUrl, | 60 | GenlangUrl, |
58 | ThemesUrl, | 61 | ThemesUrl, |
@@ -92,7 +95,7 @@ class SystemInfo : public QObject | |||
92 | //! returns a map of usb-ids and their targets | 95 | //! returns a map of usb-ids and their targets |
93 | static QMap<int, QStringList> usbIdMap(enum MapType type); | 96 | static QMap<int, QStringList> usbIdMap(enum MapType type); |
94 | //! get a value from system settings | 97 | //! get a value from system settings |
95 | static QVariant value(enum SystemInfos info); | 98 | static QVariant value(enum SystemInfos info, BuildType type = BuildCurrent); |
96 | //! get a value from system settings for a named platform. | 99 | //! get a value from system settings for a named platform. |
97 | static QVariant platformValue(enum PlatformInfo info, QString platform = ""); | 100 | static QVariant platformValue(enum PlatformInfo info, QString platform = ""); |
98 | 101 | ||