From 743af4769ee59b5830d79139852dda0679b28a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 17 May 2015 23:38:28 +0200 Subject: GH-952 Hardcore version page tweakery Version patches get a lot of new flags that determine which actions are allowed Version page respects the flags Customize, revert and edit for version patches Builting patches can be customized --- logic/minecraft/OneSixProfileStrategy.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'logic/minecraft/OneSixProfileStrategy.h') diff --git a/logic/minecraft/OneSixProfileStrategy.h b/logic/minecraft/OneSixProfileStrategy.h index b554b1ea..b140dee5 100644 --- a/logic/minecraft/OneSixProfileStrategy.h +++ b/logic/minecraft/OneSixProfileStrategy.h @@ -13,6 +13,8 @@ public: virtual bool saveOrder(ProfileUtils::PatchOrder order) override; virtual bool installJarMods(QStringList filepaths) override; virtual bool removePatch(ProfilePatchPtr patch) override; + virtual bool customizePatch(ProfilePatchPtr patch) override; + virtual bool revertPatch(ProfilePatchPtr patch) override; protected: void loadDefaultBuiltinPatches(); @@ -21,4 +23,4 @@ protected: protected: OneSixInstance *m_instance; -}; \ No newline at end of file +}; -- cgit v1.2.3