diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-31 21:45:28 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-31 21:50:01 +0200 |
commit | 6fd18a5cceb21f547fb95398215d9d30aeef0249 (patch) | |
tree | 754e3eee4c1f810eb601c26673edb95c59cbee9c /logic/minecraft/JarMod.h | |
parent | 9920062003d78864be886b1ddb79e484f44bc30a (diff) | |
download | MultiMC-6fd18a5cceb21f547fb95398215d9d30aeef0249.tar MultiMC-6fd18a5cceb21f547fb95398215d9d30aeef0249.tar.gz MultiMC-6fd18a5cceb21f547fb95398215d9d30aeef0249.tar.lz MultiMC-6fd18a5cceb21f547fb95398215d9d30aeef0249.tar.xz MultiMC-6fd18a5cceb21f547fb95398215d9d30aeef0249.zip |
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
Diffstat (limited to 'logic/minecraft/JarMod.h')
-rw-r--r-- | logic/minecraft/JarMod.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/logic/minecraft/JarMod.h b/logic/minecraft/JarMod.h index 7d9fa038..461308f0 100644 --- a/logic/minecraft/JarMod.h +++ b/logic/minecraft/JarMod.h @@ -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; }; |