From 106155dd627d8e333260e2460d4c9c558b49b21f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 16 Mar 2018 23:33:58 +0100 Subject: NOISSUE move modpack platform related files to 'modplatform' subfolders --- api/logic/modplatform/flame/FileResolvingTask.h | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 api/logic/modplatform/flame/FileResolvingTask.h (limited to 'api/logic/modplatform/flame/FileResolvingTask.h') diff --git a/api/logic/modplatform/flame/FileResolvingTask.h b/api/logic/modplatform/flame/FileResolvingTask.h new file mode 100644 index 00000000..00658452 --- /dev/null +++ b/api/logic/modplatform/flame/FileResolvingTask.h @@ -0,0 +1,32 @@ +#pragma once + +#include "tasks/Task.h" +#include "net/NetJob.h" +#include "PackManifest.h" + +#include "multimc_logic_export.h" + +namespace Flame +{ +class MULTIMC_LOGIC_EXPORT FileResolvingTask : public Task +{ + Q_OBJECT +public: + explicit FileResolvingTask(Flame::Manifest &toProcess); + const Flame::Manifest &getResults() const + { + return m_toProcess; + } + +protected: + virtual void executeTask() override; + +protected slots: + void netJobFinished(); + +private: /* data */ + Flame::Manifest m_toProcess; + QVector results; + NetJobPtr m_dljob; +}; +} -- cgit v1.2.3