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 */
|
|
|
|
static JarmodPtr fromJson(const QJsonObject &libObj, const QString &filename);
|
2014-05-11 16:07:21 +05:30
|
|
|
QJsonObject toJson();
|
2014-05-09 20:46:25 +05:30
|
|
|
QString url();
|
|
|
|
public: /* data */
|
|
|
|
QString name;
|
|
|
|
QString baseurl;
|
|
|
|
QString hint;
|
|
|
|
QString absoluteUrl;
|
|
|
|
};
|