summaryrefslogtreecommitdiffstats
path: root/logic/lists/ForgeVersionList.h
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2013-12-23 00:12:03 +0100
committerJan Dalheimer <jan@dalheimer.de>2013-12-23 00:12:03 +0100
commit9e645f4a37e73857b1414a67700e9f3c4cf61d56 (patch)
tree56f750999c429615e2d02d3397b0d87ea10507bd /logic/lists/ForgeVersionList.h
parent7a07ed79407edcb2a543aa0dc80745a0b8c2e234 (diff)
downloadMultiMC-9e645f4a37e73857b1414a67700e9f3c4cf61d56.tar
MultiMC-9e645f4a37e73857b1414a67700e9f3c4cf61d56.tar.gz
MultiMC-9e645f4a37e73857b1414a67700e9f3c4cf61d56.tar.lz
MultiMC-9e645f4a37e73857b1414a67700e9f3c4cf61d56.tar.xz
MultiMC-9e645f4a37e73857b1414a67700e9f3c4cf61d56.zip
Support for the new forge gradle repo
Diffstat (limited to 'logic/lists/ForgeVersionList.h')
-rw-r--r--logic/lists/ForgeVersionList.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/logic/lists/ForgeVersionList.h b/logic/lists/ForgeVersionList.h
index f32975ed..924084ae 100644
--- a/logic/lists/ForgeVersionList.h
+++ b/logic/lists/ForgeVersionList.h
@@ -98,10 +98,18 @@ public:
protected
slots:
- void list_downloaded();
- void list_failed();
+ void listDownloaded();
+ void listFailed();
+ void gradleListFailed();
protected:
NetJobPtr listJob;
ForgeVersionList *m_list;
+
+ CacheDownloadPtr listDownload;
+ CacheDownloadPtr gradleListDownload;
+
+private:
+ bool parseForgeList(QList<BaseVersionPtr> &out);
+ bool parseForgeGradleList(QList<BaseVersionPtr> &out);
};