summaryrefslogtreecommitdiffstats
path: root/logic/updater/UpdateChecker.h
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2013-12-14 16:02:51 +0100
committerJan Dalheimer <jan@dalheimer.de>2013-12-14 16:02:51 +0100
commita02e62f17f7b51c489e209ab6937ad717fbcfb07 (patch)
tree56b99fd6099dfbfdeebc561edc717eb1bcdb3832 /logic/updater/UpdateChecker.h
parentac2721e954142e534e3acced8a90ef6cf876efa7 (diff)
downloadMultiMC-a02e62f17f7b51c489e209ab6937ad717fbcfb07.tar
MultiMC-a02e62f17f7b51c489e209ab6937ad717fbcfb07.tar.gz
MultiMC-a02e62f17f7b51c489e209ab6937ad717fbcfb07.tar.lz
MultiMC-a02e62f17f7b51c489e209ab6937ad717fbcfb07.tar.xz
MultiMC-a02e62f17f7b51c489e209ab6937ad717fbcfb07.zip
Tests for parsing of channel lists in UpdateChecker
Diffstat (limited to 'logic/updater/UpdateChecker.h')
-rw-r--r--logic/updater/UpdateChecker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/logic/updater/UpdateChecker.h b/logic/updater/UpdateChecker.h
index 59fb8e47..131f49a2 100644
--- a/logic/updater/UpdateChecker.h
+++ b/logic/updater/UpdateChecker.h
@@ -27,6 +27,9 @@ public:
UpdateChecker();
void checkForUpdate();
+ void setCurrentChannel(const QString &channel) { m_currentChannel = channel; }
+ void setChannelListUrl(const QString &url) { m_channelListUrl = url; }
+
/*!
* Causes the update checker to download the channel list from the URL specified in config.h (generated by CMake).
* If this isn't called before checkForUpdate(), it will automatically be called.