summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MojangVersionFormat.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-02-27 22:02:56 +0100
committerPetr Mrázek <peterix@gmail.com>2016-02-27 22:02:56 +0100
commita0b47aee5ba8d96e5ceec12798be9f63a16dbcd5 (patch)
tree5fcdca854ff8c93ac6f5b5715a2ff3d0dc7a8ad8 /logic/minecraft/MojangVersionFormat.h
parent17ad1e64f824fba6d8f153191effdb2af7d387c8 (diff)
downloadMultiMC-a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5.tar
MultiMC-a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5.tar.gz
MultiMC-a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5.tar.lz
MultiMC-a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5.tar.xz
MultiMC-a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5.zip
NOISSUE move version file reading and writing to dedicated namespaces
Diffstat (limited to 'logic/minecraft/MojangVersionFormat.h')
-rw-r--r--logic/minecraft/MojangVersionFormat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/logic/minecraft/MojangVersionFormat.h b/logic/minecraft/MojangVersionFormat.h
new file mode 100644
index 00000000..78bc1c42
--- /dev/null
+++ b/logic/minecraft/MojangVersionFormat.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <minecraft/VersionFile.h>
+#include <QJsonDocument>
+
+namespace MojangVersionFormat {
+ VersionFilePtr fromJson(const QJsonDocument &doc, const QString &filename);
+}