pollymc/logic/minecraft/JarMod.h
2014-06-09 01:38:30 +02:00

19 lines
378 B
C++

#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);
QJsonObject toJson();
QString url();
public: /* data */
QString name;
QString baseurl;
QString hint;
QString absoluteUrl;
};