summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/serverinfo.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-03 00:50:01 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-03 00:50:01 +0200
commitf4b0e316c3da6b4f1693d645cd62bdb57fe2b6c2 (patch)
tree86282c2f8bce481e4c5bf396a9c5357678930788 /rbutil/rbutilqt/base/serverinfo.h
parentb73c9616830df6337c0c426ca0e4e1a6cd54cdf6 (diff)
downloadrockbox-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.h9
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
{
Q_OBJECT
public:
-
+
//! All Server infos
enum ServerInfos {
CurReleaseVersion,
CurStatus,
- DailyDate,
BleedingRevision,
BleedingDate,
};
-
+
//! read in buildinfo file
static void readBuildInfo(QString file);
- //! read in bleeding info file
- static void readBleedingInfo(QString file);
//! get a value from server info
static QVariant value(enum ServerInfos setting);
//! get a value from server info for a named platform.
static QVariant platformValue(QString platform, enum ServerInfos setting);
-
+
private:
//! set a server info value
static void setValue(enum ServerInfos setting , QVariant value);