2013-12-20 13:47:26 +00:00
|
|
|
#pragma once
|
|
|
|
|
2016-02-27 18:58:40 +00:00
|
|
|
#include "minecraft/onesix/OneSixInstance.h"
|
2013-12-20 13:47:26 +00:00
|
|
|
|
|
|
|
class OneSixFTBInstance : public OneSixInstance
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2015-02-01 02:08:25 +00:00
|
|
|
explicit OneSixFTBInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir);
|
2014-03-30 19:11:05 +01:00
|
|
|
virtual ~OneSixFTBInstance(){};
|
2014-02-21 17:01:06 +00:00
|
|
|
|
2017-01-22 14:20:05 +00:00
|
|
|
void copy(SettingsObjectPtr newSettings, const QDir &newDir) override;
|
2014-02-21 17:01:06 +00:00
|
|
|
|
2015-09-26 03:04:09 +01:00
|
|
|
virtual void createProfile() override;
|
2015-04-03 10:55:16 +01:00
|
|
|
|
2016-08-14 01:33:31 +01:00
|
|
|
virtual shared_qobject_ptr<Task> createUpdateTask() override;
|
2013-12-20 13:47:26 +00:00
|
|
|
|
2015-09-26 03:04:09 +01:00
|
|
|
virtual QString id() const override;
|
2014-01-15 21:49:37 +00:00
|
|
|
|
2014-02-21 17:01:06 +00:00
|
|
|
QDir librariesPath() const override;
|
|
|
|
QDir versionsPath() const override;
|
2014-02-21 18:15:59 +00:00
|
|
|
bool providesVersionFile() const override;
|
2015-09-26 03:04:09 +01:00
|
|
|
virtual QString typeName() const override;
|
2016-04-27 23:04:37 +01:00
|
|
|
bool canExport() const override
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2015-02-02 00:09:28 +00:00
|
|
|
private:
|
|
|
|
SettingsObjectPtr m_globalSettings;
|
2013-12-20 13:47:26 +00:00
|
|
|
};
|