NOISSUE move version file reading and writing to dedicated namespaces
This commit is contained in:
11
logic/minecraft/onesix/OneSixVersionFormat.h
Normal file
11
logic/minecraft/onesix/OneSixVersionFormat.h
Normal file
@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <minecraft/VersionFile.h>
|
||||
#include <minecraft/MinecraftProfile.h>
|
||||
#include <QJsonDocument>
|
||||
|
||||
namespace OneSixVersionFormat {
|
||||
std::shared_ptr<MinecraftProfile> readProfileFromSingleFile(const QJsonObject &obj);
|
||||
VersionFilePtr fromJson(const QJsonDocument &doc, const QString &filename, const bool requireOrder);
|
||||
QJsonDocument toJson(const ProfilePatchPtr &patch, bool saveOrder);
|
||||
}
|
Reference in New Issue
Block a user