2013-12-20 14:47:26 +01:00
|
|
|
#pragma once
|
|
|
|
|
2015-02-09 01:51:14 +01:00
|
|
|
#include "minecraft/OneSixInstance.h"
|
2013-12-20 14:47:26 +01:00
|
|
|
|
|
|
|
class OneSixLibrary;
|
|
|
|
|
|
|
|
class OneSixFTBInstance : public OneSixInstance
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2015-02-01 03:08:25 +01:00
|
|
|
explicit OneSixFTBInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir);
|
2014-03-30 20:11:05 +02:00
|
|
|
virtual ~OneSixFTBInstance(){};
|
2014-02-21 18:01:06 +01:00
|
|
|
|
2014-02-21 19:15:59 +01:00
|
|
|
void copy(const QDir &newDir) override;
|
2014-02-21 18:01:06 +01:00
|
|
|
|
2015-04-03 11:55:16 +02:00
|
|
|
virtual void createProfile();
|
|
|
|
|
2013-12-20 14:47:26 +01:00
|
|
|
virtual QString getStatusbarDescription();
|
|
|
|
|
2014-01-27 03:00:49 +01:00
|
|
|
virtual std::shared_ptr<Task> doUpdate() override;
|
2013-12-20 14:47:26 +01:00
|
|
|
|
2014-01-15 22:49:37 +01:00
|
|
|
virtual QString id() const;
|
|
|
|
|
2014-02-21 18:01:06 +01:00
|
|
|
QDir librariesPath() const override;
|
|
|
|
QDir versionsPath() const override;
|
2014-02-21 19:15:59 +01:00
|
|
|
bool providesVersionFile() const override;
|
2015-02-02 01:09:28 +01:00
|
|
|
private:
|
|
|
|
SettingsObjectPtr m_globalSettings;
|
2013-12-20 14:47:26 +01:00
|
|
|
};
|