1
0
Fork 0
forked from len0rd/rockbox

Move download URL construction to ServerInfo.

Centralize creating the URLs so it's not duplicated in two places. This also
allows to change the representation on the server more easily, since it only
requires changes in one place.

Currently only changes URLs for Rockbox builds.

Change-Id: I87277cd61f8b164bdbcd914c9873d674661a786c
This commit is contained in:
Dominik Riebeling 2012-06-17 10:30:19 +02:00
parent c2246905a2
commit 94555a0b08
4 changed files with 33 additions and 16 deletions

View file

@ -32,6 +32,8 @@ class ServerInfo : public QObject
enum ServerInfos {
CurReleaseVersion,
CurStatus,
CurReleaseUrl,
CurDevelUrl,
BleedingRevision,
BleedingDate,
};