diff options
author | timoreo <timo.oreo34@gmail.com> | 2022-01-15 10:25:24 +0100 |
---|---|---|
committer | timoreo <timo.oreo34@gmail.com> | 2022-01-15 10:25:24 +0100 |
commit | 621e0ba4a887ab4dfdde6a6bba2e1c7b209fb6bc (patch) | |
tree | 882775969e69683f264cdc071f9b95ee8cad1da8 /launcher/modplatform/modrinth/ModrinthPackIndex.h | |
parent | f6de472da2f4b27c941517c17fb604b63d8e21d2 (diff) | |
download | PrismLauncher-621e0ba4a887ab4dfdde6a6bba2e1c7b209fb6bc.tar.gz PrismLauncher-621e0ba4a887ab4dfdde6a6bba2e1c7b209fb6bc.tar.bz2 PrismLauncher-621e0ba4a887ab4dfdde6a6bba2e1c7b209fb6bc.zip |
Added smart file selection
This might fail in a few special cases
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthPackIndex.h')
-rw-r--r-- | launcher/modplatform/modrinth/ModrinthPackIndex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackIndex.h b/launcher/modplatform/modrinth/ModrinthPackIndex.h index b3cffc40..01ae4b44 100644 --- a/launcher/modplatform/modrinth/ModrinthPackIndex.h +++ b/launcher/modplatform/modrinth/ModrinthPackIndex.h @@ -7,6 +7,7 @@ #include <QNetworkAccessManager> #include <QObjectPtr.h> #include "net/NetJob.h" +#include "BaseInstance.h" namespace Modrinth { @@ -41,8 +42,7 @@ struct IndexedPack }; void loadIndexedPack(IndexedPack & m, QJsonObject & obj); -void loadIndexedPackVersions(IndexedPack & m, QJsonArray & arr, const shared_qobject_ptr<QNetworkAccessManager>& network); -void versionJobFinished(); +void loadIndexedPackVersions(IndexedPack &pack, QJsonArray &arr, const shared_qobject_ptr<QNetworkAccessManager> &network, BaseInstance *inst); } Q_DECLARE_METATYPE(Modrinth::IndexedPack) |