diff options
Diffstat (limited to 'api/logic/minecraft/ftb/FTBProfileStrategy.h')
-rw-r--r-- | api/logic/minecraft/ftb/FTBProfileStrategy.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/api/logic/minecraft/ftb/FTBProfileStrategy.h b/api/logic/minecraft/ftb/FTBProfileStrategy.h new file mode 100644 index 00000000..522af098 --- /dev/null +++ b/api/logic/minecraft/ftb/FTBProfileStrategy.h @@ -0,0 +1,21 @@ +#pragma once +#include "minecraft/ProfileStrategy.h" +#include "minecraft/onesix/OneSixProfileStrategy.h" + +class OneSixFTBInstance; + +class FTBProfileStrategy : public OneSixProfileStrategy +{ +public: + FTBProfileStrategy(OneSixFTBInstance * instance); + virtual ~FTBProfileStrategy() {}; + virtual void load() override; + virtual bool resetOrder() override; + virtual bool saveOrder(ProfileUtils::PatchOrder order) override; + virtual bool installJarMods(QStringList filepaths) override; + virtual bool customizePatch (ProfilePatchPtr patch) override; + virtual bool revertPatch (ProfilePatchPtr patch) override; + +protected: + virtual void loadDefaultBuiltinPatches() override; +}; |