diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-06-03 00:50:01 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-06-03 00:50:01 +0200 |
commit | f4b0e316c3da6b4f1693d645cd62bdb57fe2b6c2 (patch) | |
tree | 86282c2f8bce481e4c5bf396a9c5357678930788 /rbutil/rbutilqt/base/serverinfo.h | |
parent | b73c9616830df6337c0c426ca0e4e1a6cd54cdf6 (diff) | |
download | rockbox-f4b0e316c3da6b4f1693d645cd62bdb57fe2b6c2.tar.gz rockbox-f4b0e316c3da6b4f1693d645cd62bdb57fe2b6c2.zip |
Update for single build-info file.
The server now provides a single build-info file (instead of two separate ones
for development builds and stable releases). Update to use the new file, since
it simplifies things.
Change-Id: If3b949f4d78eecb54e47622da887f51005f6d155
Diffstat (limited to 'rbutil/rbutilqt/base/serverinfo.h')
-rw-r--r-- | rbutil/rbutilqt/base/serverinfo.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/rbutil/rbutilqt/base/serverinfo.h b/rbutil/rbutilqt/base/serverinfo.h index 37a0953e3d..69aa26f3e6 100644 --- a/rbutil/rbutilqt/base/serverinfo.h +++ b/rbutil/rbutilqt/base/serverinfo.h | |||
@@ -27,25 +27,22 @@ class ServerInfo : public QObject | |||
27 | { | 27 | { |
28 | Q_OBJECT | 28 | Q_OBJECT |
29 | public: | 29 | public: |
30 | 30 | ||
31 | //! All Server infos | 31 | //! All Server infos |
32 | enum ServerInfos { | 32 | enum ServerInfos { |
33 | CurReleaseVersion, | 33 | CurReleaseVersion, |
34 | CurStatus, | 34 | CurStatus, |
35 | DailyDate, | ||
36 | BleedingRevision, | 35 | BleedingRevision, |
37 | BleedingDate, | 36 | BleedingDate, |
38 | }; | 37 | }; |
39 | 38 | ||
40 | //! read in buildinfo file | 39 | //! read in buildinfo file |
41 | static void readBuildInfo(QString file); | 40 | static void readBuildInfo(QString file); |
42 | //! read in bleeding info file | ||
43 | static void readBleedingInfo(QString file); | ||
44 | //! get a value from server info | 41 | //! get a value from server info |
45 | static QVariant value(enum ServerInfos setting); | 42 | static QVariant value(enum ServerInfos setting); |
46 | //! get a value from server info for a named platform. | 43 | //! get a value from server info for a named platform. |
47 | static QVariant platformValue(QString platform, enum ServerInfos setting); | 44 | static QVariant platformValue(QString platform, enum ServerInfos setting); |
48 | 45 | ||
49 | private: | 46 | private: |
50 | //! set a server info value | 47 | //! set a server info value |
51 | static void setValue(enum ServerInfos setting , QVariant value); | 48 | static void setValue(enum ServerInfos setting , QVariant value); |