diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-09-02 00:25:40 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-09-02 00:25:40 +0200 |
commit | f8e8414d544f1227e86099146bba903c9082d09e (patch) | |
tree | a0983c2a5a17feda4c2f813d32d0b98111463176 /logic/OneSixAssets.h | |
parent | 78e278c1e33e39eb29a26a976b19ea6a8150bfff (diff) | |
download | MultiMC-f8e8414d544f1227e86099146bba903c9082d09e.tar MultiMC-f8e8414d544f1227e86099146bba903c9082d09e.tar.gz MultiMC-f8e8414d544f1227e86099146bba903c9082d09e.tar.lz MultiMC-f8e8414d544f1227e86099146bba903c9082d09e.tar.xz MultiMC-f8e8414d544f1227e86099146bba903c9082d09e.zip |
Speed up the downloads. Massively.
Diffstat (limited to 'logic/OneSixAssets.h')
-rw-r--r-- | logic/OneSixAssets.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/logic/OneSixAssets.h b/logic/OneSixAssets.h index 8c345daa..58618c88 100644 --- a/logic/OneSixAssets.h +++ b/logic/OneSixAssets.h @@ -2,6 +2,7 @@ #include "net/DownloadJob.h" class Private; +class ThreadedDeleter; class OneSixAssets : public QObject { @@ -11,12 +12,13 @@ signals: void finished(); public slots: - void fetchFinished(); - void fetchStarted(); + void fetchXMLFinished(); + void downloadFinished(); public: void start(); private: - JobListQueue dl; - JobListPtr index_job; - JobListPtr files_job; + ThreadedDeleter * deleter; + QStringList nuke_whitelist; + DownloadJobPtr index_job; + DownloadJobPtr files_job; }; |