summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/JarMod.h
blob: c438dbcd163b01ff87b3e521d3b6d64d5c47d796 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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);
	QJsonObject toJson();
	QString url();
public: /* data */
	QString name;
	QString baseurl;
	QString hint;
	QString absoluteUrl;
};