aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame/FlamePackIndex.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-04-14 23:02:33 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-04-21 18:42:05 +0300
commit4fe497cd682258ca80501be2ad616de7a40043d9 (patch)
treebc5ddd0e5156d946511d6d68f3843807fbf90336 /launcher/modplatform/flame/FlamePackIndex.h
parent5655a3351551aa36aeeba79b0ac7f2474ca74352 (diff)
downloadPrismLauncher-4fe497cd682258ca80501be2ad616de7a40043d9.tar.gz
PrismLauncher-4fe497cd682258ca80501be2ad616de7a40043d9.tar.bz2
PrismLauncher-4fe497cd682258ca80501be2ad616de7a40043d9.zip
First working version with curseforge mods
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform/flame/FlamePackIndex.h')
-rw-r--r--launcher/modplatform/flame/FlamePackIndex.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/launcher/modplatform/flame/FlamePackIndex.h b/launcher/modplatform/flame/FlamePackIndex.h
index 1ca0fc0e..b089b722 100644
--- a/launcher/modplatform/flame/FlamePackIndex.h
+++ b/launcher/modplatform/flame/FlamePackIndex.h
@@ -4,6 +4,7 @@
#include <QMetaType>
#include <QString>
#include <QVector>
+#include "modplatform/ModIndex.h"
namespace Flame {
@@ -27,8 +28,7 @@ struct ModpackExtra {
QString sourceUrl;
};
-struct IndexedPack
-{
+struct IndexedPack {
int addonId;
QString name;
QString description;
@@ -43,9 +43,9 @@ struct IndexedPack
ModpackExtra extra;
};
-void loadIndexedPack(IndexedPack & m, QJsonObject & obj);
+void loadIndexedPack(IndexedPack& m, QJsonObject& obj);
void loadIndexedInfo(IndexedPack&, QJsonObject&);
-void loadIndexedPackVersions(IndexedPack & m, QJsonArray & arr);
-}
+void loadIndexedPackVersions(IndexedPack& m, QJsonArray& arr);
+} // namespace Flame
Q_DECLARE_METATYPE(Flame::IndexedPack)