mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
b73c961683
commit
f4b0e316c3
9 changed files with 21 additions and 71 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue