diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-17 23:38:28 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-17 23:38:28 +0200 |
commit | 743af4769ee59b5830d79139852dda0679b28a03 (patch) | |
tree | 939e150c6127c9bc64926da052fe56e2b483990d /logic/ftb/FTBProfileStrategy.h | |
parent | 6ab6a450f6831c99ba507436ab15047cfa4d4528 (diff) | |
download | PrismLauncher-743af4769ee59b5830d79139852dda0679b28a03.tar.gz PrismLauncher-743af4769ee59b5830d79139852dda0679b28a03.tar.bz2 PrismLauncher-743af4769ee59b5830d79139852dda0679b28a03.zip |
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
Diffstat (limited to 'logic/ftb/FTBProfileStrategy.h')
-rw-r--r-- | logic/ftb/FTBProfileStrategy.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/ftb/FTBProfileStrategy.h b/logic/ftb/FTBProfileStrategy.h index 65f07069..5e5c2e73 100644 --- a/logic/ftb/FTBProfileStrategy.h +++ b/logic/ftb/FTBProfileStrategy.h @@ -13,7 +13,8 @@ public: virtual bool resetOrder() override; 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(); |