summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/ftb/FTBProfileStrategy.h
blob: 522af098356ee5159bb8be345275e62c6a5b224e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
};