aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/PackProfile.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-23 12:52:51 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-23 12:52:51 +0300
commite6ba2f4970abe69f2203bb5b85503e4cf3177016 (patch)
tree6d41ead389c2249e8bc79766666f6fb952ada835 /launcher/minecraft/PackProfile.h
parentf8f9ffa1182c76cd22c2c181820bdd9516d7958f (diff)
downloadPrismLauncher-e6ba2f4970abe69f2203bb5b85503e4cf3177016.tar.gz
PrismLauncher-e6ba2f4970abe69f2203bb5b85503e4cf3177016.tar.bz2
PrismLauncher-e6ba2f4970abe69f2203bb5b85503e4cf3177016.zip
Added loaders check on versions load
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/minecraft/PackProfile.h')
-rw-r--r--launcher/minecraft/PackProfile.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/launcher/minecraft/PackProfile.h b/launcher/minecraft/PackProfile.h
index 4b93d654..c41601fb 100644
--- a/launcher/minecraft/PackProfile.h
+++ b/launcher/minecraft/PackProfile.h
@@ -45,13 +45,9 @@
#include <QString>
#include <memory>
-#include "BaseVersion.h"
#include "Component.h"
#include "LaunchProfile.h"
-#include "Library.h"
-#include "MojangDownloadInfo.h"
-#include "ProfileUtils.h"
-#include "modplatform/ResourceAPI.h"
+#include "modplatform/ModIndex.h"
#include "net/Mode.h"
class MinecraftInstance;
@@ -147,6 +143,8 @@ class PackProfile : public QAbstractListModel {
void appendComponent(ComponentPtr component);
std::optional<ModPlatform::ModLoaderTypes> getModLoaders();
+ // this returns aditional loaders(Quilt supports fabric and NeoForge supports Forge)
+ std::optional<ModPlatform::ModLoaderTypes> getSupportedModLoaders();
private:
void scheduleSave();