summaryrefslogtreecommitdiffstats
path: root/api/logic/InstanceCreationTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/InstanceCreationTask.h')
-rw-r--r--api/logic/InstanceCreationTask.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/api/logic/InstanceCreationTask.h b/api/logic/InstanceCreationTask.h
index 49fd4615..e06eacbb 100644
--- a/api/logic/InstanceCreationTask.h
+++ b/api/logic/InstanceCreationTask.h
@@ -6,24 +6,18 @@
#include <QUrl>
#include "settings/SettingsObject.h"
#include "BaseVersion.h"
+#include "InstanceTask.h"
-class MULTIMC_LOGIC_EXPORT InstanceCreationTask : public Task
+class MULTIMC_LOGIC_EXPORT InstanceCreationTask : public InstanceTask
{
Q_OBJECT
public:
- explicit InstanceCreationTask(SettingsObjectPtr settings, const QString & stagingPath, BaseVersionPtr version, const QString &instName,
- const QString &instIcon, const QString &instGroup);
+ explicit InstanceCreationTask(BaseVersionPtr version);
protected:
//! Entry point for tasks.
virtual void executeTask() override;
private: /* data */
- SettingsObjectPtr m_globalSettings;
- QString m_stagingPath;
BaseVersionPtr m_version;
- QString m_instName;
- QString m_instIcon;
- QString m_instGroup;
};
-