From 8cf88ffc580310e2e814d097358ff783cd5c4416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 7 Aug 2017 00:46:29 +0200 Subject: GH-1314 add UI for custom minecraft jar addition Also changes the text of the jar mod addition button. It should be clearer what it does and hopefully will not confuse as many people. --- api/logic/minecraft/ftb/FTBProfileStrategy.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'api/logic/minecraft/ftb/FTBProfileStrategy.h') diff --git a/api/logic/minecraft/ftb/FTBProfileStrategy.h b/api/logic/minecraft/ftb/FTBProfileStrategy.h index 522af098..4637d04b 100644 --- a/api/logic/minecraft/ftb/FTBProfileStrategy.h +++ b/api/logic/minecraft/ftb/FTBProfileStrategy.h @@ -9,13 +9,14 @@ 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; + void load() override; + bool resetOrder() override; + bool saveOrder(ProfileUtils::PatchOrder order) override; + bool installJarMods(QStringList filepaths) override; + bool installCustomJar(QString filepath) override; + bool customizePatch (ProfilePatchPtr patch) override; + bool revertPatch (ProfilePatchPtr patch) override; protected: - virtual void loadDefaultBuiltinPatches() override; + void loadDefaultBuiltinPatches() override; }; -- cgit v1.2.3