From 9497b7e96cfac6e60a53fe05c0ca945ecc839533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 28 Feb 2016 19:01:54 +0100 Subject: NOISSUE even more version file refactors There is no end to them in sight --- logic/minecraft/MojangVersionFormat.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'logic/minecraft/MojangVersionFormat.h') diff --git a/logic/minecraft/MojangVersionFormat.h b/logic/minecraft/MojangVersionFormat.h index 78bc1c42..da38bd62 100644 --- a/logic/minecraft/MojangVersionFormat.h +++ b/logic/minecraft/MojangVersionFormat.h @@ -3,6 +3,12 @@ #include #include -namespace MojangVersionFormat { - VersionFilePtr fromJson(const QJsonDocument &doc, const QString &filename); -} +class MojangVersionFormat +{ +public: + // version files / profile patches + static VersionFilePtr versionFileFromJson(const QJsonDocument &doc, const QString &filename); + /* + static QJsonDocument profilePatchToJson(const ProfilePatchPtr &patch); + */ +}; -- cgit v1.2.3