aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ModFolderModel.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-27 12:26:57 +0200
committerGitHub <noreply@github.com>2023-08-27 12:26:57 +0200
commitdf14f88307b1b7f7fa305472bd2800896103f879 (patch)
treeda0125285527cac8a73d8fa406361a3cd30a05de /launcher/minecraft/mod/ModFolderModel.h
parent29736b3b1fab563167bd29c2f9f688d8eb75f356 (diff)
parentbc0934a19ca73e38c000d01646392fa3470094ea (diff)
downloadPrismLauncher-df14f88307b1b7f7fa305472bd2800896103f879.tar.gz
PrismLauncher-df14f88307b1b7f7fa305472bd2800896103f879.tar.bz2
PrismLauncher-df14f88307b1b7f7fa305472bd2800896103f879.zip
Merge pull request #1532 from Trial97/curseforge-url-handle
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