aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ModFolderModel.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-17 00:25:38 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-17 00:25:38 +0300
commitf8ffb146194d6dd4de79a217b616d2d11aeb26d2 (patch)
treea3869364d2d25f918d44db2f2aac020140aacd68 /launcher/minecraft/mod/ModFolderModel.h
parent5e2d1ffdfbb3f673c063029c9a6c55071cba160a (diff)
parentbad44ea264eab5ce896f51a981cf1659f2755716 (diff)
downloadPrismLauncher-f8ffb146194d6dd4de79a217b616d2d11aeb26d2.tar.gz
PrismLauncher-f8ffb146194d6dd4de79a217b616d2d11aeb26d2.tar.bz2
PrismLauncher-f8ffb146194d6dd4de79a217b616d2d11aeb26d2.zip
Merge branch 'curseforge-url-handle' of github.com:Trial97/PrismLauncher into 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