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/ProfileStrategy.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'api/logic/minecraft/ProfileStrategy.h') 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; -- cgit v1.2.3