2014-05-09 16:16:25 +01:00
|
|
|
#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);
|
2014-05-11 11:37:21 +01:00
|
|
|
QJsonObject toJson();
|
2014-05-09 16:16:25 +01:00
|
|
|
public: /* data */
|
|
|
|
QString name;
|
|
|
|
};
|