summaryrefslogtreecommitdiffstats
path: root/api/logic/modplatform/ftb/FtbPackFetchTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/modplatform/ftb/FtbPackFetchTask.h')
-rw-r--r--api/logic/modplatform/ftb/FtbPackFetchTask.h7
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);
};