diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-01-23 21:31:41 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2014-01-23 21:31:41 +0100 |
commit | 156bc8f27656c115bf1b023cd4ebc5f629df3887 (patch) | |
tree | 79e7ff327148f0841d7184a3882d8c2e6938ef4a /logic/DerpVersionBuilder.h | |
parent | c39d26f4453166603749826eee1a732c815047d0 (diff) | |
download | MultiMC-156bc8f27656c115bf1b023cd4ebc5f629df3887.tar MultiMC-156bc8f27656c115bf1b023cd4ebc5f629df3887.tar.gz MultiMC-156bc8f27656c115bf1b023cd4ebc5f629df3887.tar.lz MultiMC-156bc8f27656c115bf1b023cd4ebc5f629df3887.tar.xz MultiMC-156bc8f27656c115bf1b023cd4ebc5f629df3887.zip |
Forge works now too, and so does forge+liteloader
Diffstat (limited to 'logic/DerpVersionBuilder.h')
-rw-r--r-- | logic/DerpVersionBuilder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/DerpVersionBuilder.h b/logic/DerpVersionBuilder.h index 5354cb0e..b94cd8e9 100644 --- a/logic/DerpVersionBuilder.h +++ b/logic/DerpVersionBuilder.h @@ -28,6 +28,7 @@ class DerpVersionBuilder DerpVersionBuilder(); public: static bool build(DerpVersion *version, DerpInstance *instance, QWidget *widgetParent); + static bool read(DerpVersion *version, const QJsonObject &obj); private: DerpVersion *m_version; @@ -42,6 +43,7 @@ private: }; bool build(); + bool read(const QJsonObject &obj); void clear(); bool apply(const QJsonObject &object); |