aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/ModAPI.h
diff options
context:
space:
mode:
authorEzekiel Smith <ezekielsmith@protonmail.com>2022-06-14 23:52:00 +1000
committerGitHub <noreply@github.com>2022-06-14 23:52:00 +1000
commit27239b2dde3b2d6ea300cf4a80518258caae07b1 (patch)
tree4ceeb5699cd481b39491cc17cbc61f548c8fc81a /launcher/modplatform/ModAPI.h
parent349fc4143d4c83c50aa6340bbe7dc537a6fbf949 (diff)
parente64438016040c1a7ad1834a5735d34d6d1ea0cdb (diff)
downloadPrismLauncher-27239b2dde3b2d6ea300cf4a80518258caae07b1.tar.gz
PrismLauncher-27239b2dde3b2d6ea300cf4a80518258caae07b1.tar.bz2
PrismLauncher-27239b2dde3b2d6ea300cf4a80518258caae07b1.zip
Merge pull request #634 from flowln/donate_links
More links for CF / Modrinth mods / modpacks
Diffstat (limited to 'launcher/modplatform/ModAPI.h')
-rw-r--r--launcher/modplatform/ModAPI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/modplatform/ModAPI.h b/launcher/modplatform/ModAPI.h
index eb0de3f0..91b760df 100644
--- a/launcher/modplatform/ModAPI.h
+++ b/launcher/modplatform/ModAPI.h
@@ -7,6 +7,7 @@
namespace ModPlatform {
class ListModel;
+struct IndexedPack;
}
class ModAPI {
@@ -35,6 +36,7 @@ class ModAPI {
};
virtual void searchMods(CallerType* caller, SearchArgs&& args) const = 0;
+ virtual void getModInfo(CallerType* caller, ModPlatform::IndexedPack& pack) = 0;
struct VersionSearchArgs {