diff options
author | Jannis Lübke <werbung.janrupf@t-online.de> | 2018-08-02 00:52:31 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-08-02 00:52:31 +0200 |
commit | 6aada8adf7df5075d5838512670a0b2cc2bc12a1 (patch) | |
tree | 46460efee6d3f1bd66bc611e4ad4665362d36bf0 /api/logic/modplatform/ftb/FtbPackFetchTask.h | |
parent | 6cee50eac6c25796eb3642239385b0c58860cd58 (diff) | |
download | MultiMC-6aada8adf7df5075d5838512670a0b2cc2bc12a1.tar MultiMC-6aada8adf7df5075d5838512670a0b2cc2bc12a1.tar.gz MultiMC-6aada8adf7df5075d5838512670a0b2cc2bc12a1.tar.lz MultiMC-6aada8adf7df5075d5838512670a0b2cc2bc12a1.tar.xz MultiMC-6aada8adf7df5075d5838512670a0b2cc2bc12a1.zip |
NOISSUE FTB pack code implementation, cleaned up
Diffstat (limited to 'api/logic/modplatform/ftb/FtbPackFetchTask.h')
-rw-r--r-- | api/logic/modplatform/ftb/FtbPackFetchTask.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/api/logic/modplatform/ftb/FtbPackFetchTask.h b/api/logic/modplatform/ftb/FtbPackFetchTask.h index c919a6e1..f955fe83 100644 --- a/api/logic/modplatform/ftb/FtbPackFetchTask.h +++ b/api/logic/modplatform/ftb/FtbPackFetchTask.h @@ -11,10 +11,11 @@ class MULTIMC_LOGIC_EXPORT FtbPackFetchTask : public QObject { Q_OBJECT public: - FtbPackFetchTask(); - virtual ~FtbPackFetchTask(); + FtbPackFetchTask() = default; + virtual ~FtbPackFetchTask() = default; void fetch(); + void fetchPrivate(const QStringList &toFetch); private: NetJobPtr jobPtr; @@ -34,4 +35,6 @@ signals: void finished(FtbModpackList publicPacks, FtbModpackList thirdPartyPacks); void failed(QString reason); + void privateFileDownloadFinished(FtbModpack modpack); + void privateFileDownloadFailed(QString reason, QString packCode); }; |