mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
19 lines
378 B
C++
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;
|
|
};
|