diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-08-07 00:46:29 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-08-07 00:46:29 +0200 |
commit | 8cf88ffc580310e2e814d097358ff783cd5c4416 (patch) | |
tree | 4ed75860253ffa667af38664b4fd10e6d7bc29de /api/logic/minecraft/onesix/OneSixProfileStrategy.h | |
parent | 117bfef151c2083085025c32f96461f1c97dbec3 (diff) | |
download | PrismLauncher-8cf88ffc580310e2e814d097358ff783cd5c4416.tar.gz PrismLauncher-8cf88ffc580310e2e814d097358ff783cd5c4416.tar.bz2 PrismLauncher-8cf88ffc580310e2e814d097358ff783cd5c4416.zip |
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.
Diffstat (limited to 'api/logic/minecraft/onesix/OneSixProfileStrategy.h')
-rw-r--r-- | api/logic/minecraft/onesix/OneSixProfileStrategy.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/api/logic/minecraft/onesix/OneSixProfileStrategy.h b/api/logic/minecraft/onesix/OneSixProfileStrategy.h index 96c1ba7b..e4eee4b2 100644 --- a/api/logic/minecraft/onesix/OneSixProfileStrategy.h +++ b/api/logic/minecraft/onesix/OneSixProfileStrategy.h @@ -8,13 +8,14 @@ class OneSixProfileStrategy : public ProfileStrategy public: OneSixProfileStrategy(OneSixInstance * instance); virtual ~OneSixProfileStrategy() {}; - virtual void load() override; - 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; + void load() override; + bool resetOrder() override; + bool saveOrder(ProfileUtils::PatchOrder order) override; + bool installJarMods(QStringList filepaths) override; + bool installCustomJar(QString filepath) override; + bool removePatch(ProfilePatchPtr patch) override; + bool customizePatch(ProfilePatchPtr patch) override; + bool revertPatch(ProfilePatchPtr patch) override; protected: virtual void loadDefaultBuiltinPatches(); |