#pragma once #include "ATLPackManifest.h" #include #include #include #include "multimc_logic_export.h" namespace ATLauncher { struct IndexedVersion { QString version; QString minecraft; }; struct IndexedPack { int id; int position; QString name; PackType type; QVector versions; bool system; QString description; QString safeName; }; MULTIMC_LOGIC_EXPORT void loadIndexedPack(IndexedPack & m, QJsonObject & obj); } Q_DECLARE_METATYPE(ATLauncher::IndexedPack)