summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MojangVersionFormat.h
diff options
context:
space:
mode:
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);
+}