2014-05-09 20:46:25 +05:30
|
|
|
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
#include <QJsonObject>
|
|
|
|
#include <memory>
|
|
|
|
class Jarmod;
|
|
|
|
typedef std::shared_ptr<Jarmod> JarmodPtr;
|
|
|
|
class Jarmod
|
|
|
|
{
|
|
|
|
public: /* methods */
|
2015-06-01 01:15:28 +05:30
|
|
|
static JarmodPtr fromJson(const QJsonObject &libObj, const QString &filename,
|
|
|
|
const QString &originalName);
|
2014-05-11 16:07:21 +05:30
|
|
|
QJsonObject toJson();
|
2014-05-09 20:46:25 +05:30
|
|
|
public: /* data */
|
|
|
|
QString name;
|
2015-06-01 01:15:28 +05:30
|
|
|
QString originalName;
|
2014-05-09 20:46:25 +05:30
|
|
|
};
|