summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/ftb/OneSixFTBInstance.h
blob: 640f609c27fcccd86378dcd6b4c54525f65d85e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once

#include "minecraft/onesix/OneSixInstance.h"

class OneSixFTBInstance : public OneSixInstance
{
	Q_OBJECT
public:
	explicit OneSixFTBInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir);
    virtual ~OneSixFTBInstance(){};

	void copy(SettingsObjectPtr newSettings, const QDir &newDir) override;

	virtual void createProfile() override;

	virtual shared_qobject_ptr<Task> createUpdateTask() override;

	virtual QString id() const override;

	QDir librariesPath() const override;
	QDir versionsPath() const override;
	bool providesVersionFile() const override;
	virtual QString typeName() const override;
	bool canExport() const override
	{
		return false;
	}
private:
	SettingsObjectPtr m_globalSettings;
};