summaryrefslogtreecommitdiffstats
path: root/logic/OneSixFTBInstance.h
blob: 1f9df8ab40f14d1fb8865e719823c197760c428f (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 "OneSixInstance.h"

class OneSixLibrary;

class OneSixFTBInstance : public OneSixInstance
{
	Q_OBJECT
public:
	explicit OneSixFTBInstance(const QString &rootDir, SettingsObject *settings,
							QObject *parent = 0);
    virtual ~OneSixFTBInstance(){};

	void copy(const QDir &newDir) override;

	virtual QString getStatusbarDescription();

	virtual std::shared_ptr<Task> doUpdate() override;

	virtual QString id() const;

	QDir librariesPath() const override;
	QDir versionsPath() const override;
	QStringList externalPatches() const override;
	bool providesVersionFile() const override;

private:
	std::shared_ptr<OneSixLibrary> m_forge;
};