aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth/ModrinthPackIndex.h
diff options
context:
space:
mode:
authorPandaNinjas <admin@malwarefight.wip.la>2023-07-04 16:41:34 -0400
committerGitHub <noreply@github.com>2023-07-04 16:41:34 -0400
commit4509fde410beab8687d605d0a7fd39038ab94183 (patch)
tree1835295bdd4a1293a3547f2abef6e0b4cd364278 /launcher/modplatform/modrinth/ModrinthPackIndex.h
parent34cf28712c254ba378bdbf728471d0dfbb4ab58f (diff)
parentdedc9e4edc2769c62f33b6564f3009414245d9f3 (diff)
downloadPrismLauncher-4509fde410beab8687d605d0a7fd39038ab94183.tar.gz
PrismLauncher-4509fde410beab8687d605d0a7fd39038ab94183.tar.bz2
PrismLauncher-4509fde410beab8687d605d0a7fd39038ab94183.zip
Merge branch 'develop' into fix-implicit-fallthrough
Signed-off-by: PandaNinjas <admin@malwarefight.wip.la>
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthPackIndex.h')
-rw-r--r--launcher/modplatform/modrinth/ModrinthPackIndex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackIndex.h b/launcher/modplatform/modrinth/ModrinthPackIndex.h
index e73e4b18..a8d986c5 100644
--- a/launcher/modplatform/modrinth/ModrinthPackIndex.h
+++ b/launcher/modplatform/modrinth/ModrinthPackIndex.h
@@ -19,8 +19,8 @@
#include "modplatform/ModIndex.h"
-#include "BaseInstance.h"
#include <QNetworkAccessManager>
+#include "BaseInstance.h"
namespace Modrinth {
@@ -31,5 +31,6 @@ void loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
const shared_qobject_ptr<QNetworkAccessManager>& network,
const BaseInstance* inst);
auto loadIndexedPackVersion(QJsonObject& obj, QString hash_type = "sha512", QString filename_prefer = "") -> ModPlatform::IndexedVersion;
+auto loadDependencyVersions(const ModPlatform::Dependency& m, QJsonArray& arr) -> ModPlatform::IndexedVersion;
} // namespace Modrinth