2022-01-14 08:43:42 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-03-02 21:35:59 +00:00
|
|
|
#include "modplatform/ModIndex.h"
|
|
|
|
|
2022-01-14 08:43:42 +00:00
|
|
|
#include <QNetworkAccessManager>
|
2022-01-15 09:25:24 +00:00
|
|
|
#include "BaseInstance.h"
|
2022-01-14 08:43:42 +00:00
|
|
|
|
|
|
|
namespace Modrinth {
|
|
|
|
|
2022-03-02 21:35:59 +00:00
|
|
|
void loadIndexedPack(ModPlatform::IndexedPack& m, QJsonObject& obj);
|
|
|
|
void loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
|
|
|
|
QJsonArray& arr,
|
|
|
|
const shared_qobject_ptr<QNetworkAccessManager>& network,
|
|
|
|
BaseInstance* inst);
|
2022-01-14 08:43:42 +00:00
|
|
|
|
2022-03-02 21:35:59 +00:00
|
|
|
} // namespace Modrinth
|