aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ModFolderModel.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-27 15:53:35 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-27 15:53:35 +0300
commitc5aac24a93df4961bbd70260ab9812f1fd836779 (patch)
tree0e0015c7db5e1b74814d4e5f33ac4abc0ad3a672 /launcher/minecraft/mod/ModFolderModel.h
parent288d0d1fd4562e4020c964955918a5681b547705 (diff)
parentdf14f88307b1b7f7fa305472bd2800896103f879 (diff)
downloadPrismLauncher-c5aac24a93df4961bbd70260ab9812f1fd836779.tar.gz
PrismLauncher-c5aac24a93df4961bbd70260ab9812f1fd836779.tar.bz2
PrismLauncher-c5aac24a93df4961bbd70260ab9812f1fd836779.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into curse_multiple_loaders2
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/minecraft/mod/ModFolderModel.h')
-rw-r--r--launcher/minecraft/mod/ModFolderModel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/ModFolderModel.h b/launcher/minecraft/mod/ModFolderModel.h
index 06fd7814..f1890e87 100644
--- a/launcher/minecraft/mod/ModFolderModel.h
+++ b/launcher/minecraft/mod/ModFolderModel.h
@@ -48,6 +48,7 @@
#include "minecraft/mod/tasks/LocalModParseTask.h"
#include "minecraft/mod/tasks/ModFolderLoadTask.h"
+#include "modplatform/ModIndex.h"
class LegacyInstance;
class BaseInstance;
@@ -75,6 +76,7 @@ class ModFolderModel : public ResourceFolderModel {
[[nodiscard]] Task* createParseTask(Resource&) override;
bool installMod(QString file_path) { return ResourceFolderModel::installResource(file_path); }
+ bool installMod(QString file_path, ModPlatform::IndexedVersion& vers);
bool uninstallMod(const QString& filename, bool preserve_metadata = false);
/// Deletes all the selected mods