sneedmc/logic/minecraft/JarMod.h

17 lines
368 B
C
Raw Normal View History

#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;
};