NOISSUE even more version file refactors

There is no end to them in sight
This commit is contained in:
Petr Mrázek 2016-02-28 19:01:54 +01:00
parent a0b47aee5b
commit 9497b7e96c
16 changed files with 290 additions and 216 deletions

View file

@ -3,6 +3,12 @@
#include <minecraft/VersionFile.h>
#include <QJsonDocument>
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);
*/
};