summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/JarMod.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/minecraft/JarMod.h')
-rw-r--r--logic/minecraft/JarMod.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/logic/minecraft/JarMod.h b/logic/minecraft/JarMod.h
new file mode 100644
index 00000000..da5d8db0
--- /dev/null
+++ b/logic/minecraft/JarMod.h
@@ -0,0 +1,17 @@
+#pragma once
+#include <QString>
+#include <QJsonObject>
+#include <memory>
+class Jarmod;
+typedef std::shared_ptr<Jarmod> JarmodPtr;
+class Jarmod
+{
+public: /* methods */
+ static JarmodPtr fromJson(const QJsonObject &libObj, const QString &filename);
+ QString url();
+public: /* data */
+ QString name;
+ QString baseurl;
+ QString hint;
+ QString absoluteUrl;
+};