diff options
Diffstat (limited to 'libraries/logic/minecraft/ftb/OneSixFTBInstance.h')
-rw-r--r-- | libraries/logic/minecraft/ftb/OneSixFTBInstance.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libraries/logic/minecraft/ftb/OneSixFTBInstance.h b/libraries/logic/minecraft/ftb/OneSixFTBInstance.h new file mode 100644 index 00000000..e7f8f485 --- /dev/null +++ b/libraries/logic/minecraft/ftb/OneSixFTBInstance.h @@ -0,0 +1,30 @@ +#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; + bool canExport() const override + { + return false; + } +private: + SettingsObjectPtr m_globalSettings; +}; |