GH-1016 print list of mods, coremods and jarmods

Includes a change to jar mods, where they gain an 'originalName' attribute used only for display
This commit is contained in:
Petr Mrázek
2015-05-31 21:45:28 +02:00
parent 9920062003
commit 6fd18a5cce
5 changed files with 32 additions and 6 deletions

View File

@ -7,8 +7,10 @@ typedef std::shared_ptr<Jarmod> JarmodPtr;
class Jarmod
{
public: /* methods */
static JarmodPtr fromJson(const QJsonObject &libObj, const QString &filename);
static JarmodPtr fromJson(const QJsonObject &libObj, const QString &filename,
const QString &originalName);
QJsonObject toJson();
public: /* data */
QString name;
QString originalName;
};