summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/JarMod.h
blob: 461308f0a5662efce89d2b438e7dc13341229747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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,
							  const QString &originalName);
	QJsonObject toJson();
public: /* data */
	QString name;
	QString originalName;
};