sneedmc/logic/ftb/OneSixFTBInstance.h

30 lines
691 B
C
Raw Normal View History

#pragma once
2015-02-09 00:51:14 +00:00
#include "minecraft/OneSixInstance.h"
class OneSixLibrary;
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(){};
2014-02-21 18:15:59 +00:00
void copy(const QDir &newDir) override;
2015-09-26 02:04:09 +00:00
virtual void createProfile() override;
virtual std::shared_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;
private:
SettingsObjectPtr m_globalSettings;
};