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