pollymc/logic/minecraft/ftb/OneSixFTBInstance.h

28 lines
676 B
C
Raw Normal View History

#pragma once
#include "minecraft/onesix/OneSixInstance.h"
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 23:45:59 +05:30
void copy(const QDir &newDir) override;
2015-09-26 07:34:09 +05:30
virtual void createProfile() override;
virtual std::shared_ptr<Task> createUpdateTask() override;
2015-09-26 07:34:09 +05:30
virtual QString id() const override;
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;
private:
SettingsObjectPtr m_globalSettings;
};