summaryrefslogtreecommitdiffstats
path: root/api/logic/InstanceCreationTask.h
blob: e06eacbb0eca24d72c34241e4ee694c05615fd34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "tasks/Task.h"
#include "multimc_logic_export.h"
#include "net/NetJob.h"
#include <QUrl>
#include "settings/SettingsObject.h"
#include "BaseVersion.h"
#include "InstanceTask.h"

class MULTIMC_LOGIC_EXPORT InstanceCreationTask : public InstanceTask
{
	Q_OBJECT
public:
	explicit InstanceCreationTask(BaseVersionPtr version);

protected:
	//! Entry point for tasks.
	virtual void executeTask() override;

private: /* data */
	BaseVersionPtr m_version;
};