2015-04-03 09:55:16 +00:00
|
|
|
#pragma once
|
2016-02-27 18:58:40 +00:00
|
|
|
#include "minecraft/ProfileStrategy.h"
|
|
|
|
#include "minecraft/onesix/OneSixProfileStrategy.h"
|
2015-04-03 09:55:16 +00:00
|
|
|
|
|
|
|
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;
|
2015-05-17 21:38:28 +00:00
|
|
|
virtual bool customizePatch (ProfilePatchPtr patch) override;
|
|
|
|
virtual bool revertPatch (ProfilePatchPtr patch) override;
|
2015-04-03 09:55:16 +00:00
|
|
|
|
|
|
|
protected:
|
2016-02-21 04:51:36 +00:00
|
|
|
virtual void loadDefaultBuiltinPatches() override;
|
2015-04-03 09:55:16 +00:00
|
|
|
};
|