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/ProfileStrategy.h | |
parent | 117bfef151c2083085025c32f96461f1c97dbec3 (diff) | |
download | MultiMC-8cf88ffc580310e2e814d097358ff783cd5c4416.tar MultiMC-8cf88ffc580310e2e814d097358ff783cd5c4416.tar.gz MultiMC-8cf88ffc580310e2e814d097358ff783cd5c4416.tar.lz MultiMC-8cf88ffc580310e2e814d097358ff783cd5c4416.tar.xz MultiMC-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/ProfileStrategy.h')
-rw-r--r-- | api/logic/minecraft/ProfileStrategy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/logic/minecraft/ProfileStrategy.h b/api/logic/minecraft/ProfileStrategy.h index 26bdf661..09a09f24 100644 --- a/api/logic/minecraft/ProfileStrategy.h +++ b/api/logic/minecraft/ProfileStrategy.h @@ -23,6 +23,9 @@ public: /// install a list of jar mods into the instance virtual bool installJarMods(QStringList filepaths) = 0; + /// install a custom jar (replaces the one from the Minecraft component) + virtual bool installCustomJar(QString filepath) = 0; + /// remove any files or records that constitute the version patch virtual bool removePatch(ProfilePatchPtr jarMod) = 0; |