sneedmc/api/logic/minecraft/ftb/OneSixFTBInstance.h

31 lines
764 B
C
Raw Normal View History

#pragma once
#include "minecraft/onesix/OneSixInstance.h"
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 18:11:05 +00:00
virtual ~OneSixFTBInstance(){};
void copy(SettingsObjectPtr newSettings, const QDir &newDir) override;
2015-09-26 02:04:09 +00:00
virtual void createProfile() override;
virtual shared_qobject_ptr<Task> createUpdateTask() override;
2015-09-26 02:04:09 +00:00
virtual QString id() const override;
QDir librariesPath() const override;
QDir versionsPath() const override;
2014-02-21 18:15:59 +00:00
bool providesVersionFile() const override;
2015-09-26 02:04:09 +00:00
virtual QString typeName() const override;
bool canExport() const override
{
return false;
}
private:
SettingsObjectPtr m_globalSettings;
};