diff options
Diffstat (limited to 'logic/minecraft/ftb/OneSixFTBInstance.h')
-rw-r--r-- | logic/minecraft/ftb/OneSixFTBInstance.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/logic/minecraft/ftb/OneSixFTBInstance.h b/logic/minecraft/ftb/OneSixFTBInstance.h new file mode 100644 index 00000000..09a2dcb0 --- /dev/null +++ b/logic/minecraft/ftb/OneSixFTBInstance.h @@ -0,0 +1,27 @@ +#pragma once + +#include "minecraft/onesix/OneSixInstance.h" + +class OneSixFTBInstance : public OneSixInstance +{ + Q_OBJECT +public: + explicit OneSixFTBInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir); + virtual ~OneSixFTBInstance(){}; + + void copy(const QDir &newDir) override; + + virtual void createProfile() override; + + virtual std::shared_ptr<Task> createUpdateTask() override; + + virtual QString id() const override; + + QDir librariesPath() const override; + QDir versionsPath() const override; + bool providesVersionFile() const override; + virtual QString typeName() const override; + +private: + SettingsObjectPtr m_globalSettings; +}; |