2013-12-20 19:17:26 +05:30
|
|
|
#pragma once
|
|
|
|
|
2015-02-09 06:21:14 +05:30
|
|
|
#include "minecraft/OneSixInstance.h"
|
2013-12-20 19:17:26 +05:30
|
|
|
|
|
|
|
class OneSixLibrary;
|
|
|
|
|
|
|
|
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
|
|
|
|
2014-02-21 23:45:59 +05:30
|
|
|
void copy(const QDir &newDir) override;
|
2014-02-21 22:31:06 +05:30
|
|
|
|
2015-04-03 15:25:16 +05:30
|
|
|
virtual void createProfile();
|
|
|
|
|
2013-12-20 19:17:26 +05:30
|
|
|
virtual QString getStatusbarDescription();
|
|
|
|
|
2014-01-27 07:30:49 +05:30
|
|
|
virtual std::shared_ptr<Task> doUpdate() override;
|
2013-12-20 19:17:26 +05:30
|
|
|
|
2014-01-16 03:19:37 +05:30
|
|
|
virtual QString id() const;
|
|
|
|
|
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-02-02 05:39:28 +05:30
|
|
|
private:
|
|
|
|
SettingsObjectPtr m_globalSettings;
|
2013-12-20 19:17:26 +05:30
|
|
|
};
|