summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/serverinfo.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-17 10:30:19 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-17 10:30:19 +0200
commit94555a0b08534ba6345d8ba65eef808b6e3d1dca (patch)
tree7184edd46f55edf86bbc5dfb39580fc8dcce0696 /rbutil/rbutilqt/base/serverinfo.h
parentc2246905a269d1b066b5778610b5705999d9790f (diff)
downloadrockbox-94555a0b08534ba6345d8ba65eef808b6e3d1dca.tar.gz
rockbox-94555a0b08534ba6345d8ba65eef808b6e3d1dca.zip
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
Diffstat (limited to 'rbutil/rbutilqt/base/serverinfo.h')
-rw-r--r--rbutil/rbutilqt/base/serverinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/serverinfo.h b/rbutil/rbutilqt/base/serverinfo.h
index 69aa26f3e6..f541c86540 100644
--- a/rbutil/rbutilqt/base/serverinfo.h
+++ b/rbutil/rbutilqt/base/serverinfo.h
@@ -32,6 +32,8 @@ class ServerInfo : public QObject
enum ServerInfos {
CurReleaseVersion,
CurStatus,
+ CurReleaseUrl,
+ CurDevelUrl,
BleedingRevision,
BleedingDate,
};