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