diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-02-28 19:01:54 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-02-28 19:01:54 +0100 |
commit | 9497b7e96cfac6e60a53fe05c0ca945ecc839533 (patch) | |
tree | a7b129de1109995e4416304e0e873af44bcca5ee /logic/minecraft/RawLibrary.h | |
parent | a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5 (diff) | |
download | MultiMC-9497b7e96cfac6e60a53fe05c0ca945ecc839533.tar MultiMC-9497b7e96cfac6e60a53fe05c0ca945ecc839533.tar.gz MultiMC-9497b7e96cfac6e60a53fe05c0ca945ecc839533.tar.lz MultiMC-9497b7e96cfac6e60a53fe05c0ca945ecc839533.tar.xz MultiMC-9497b7e96cfac6e60a53fe05c0ca945ecc839533.zip |
NOISSUE even more version file refactors
There is no end to them in sight
Diffstat (limited to 'logic/minecraft/RawLibrary.h')
-rw-r--r-- | logic/minecraft/RawLibrary.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/logic/minecraft/RawLibrary.h b/logic/minecraft/RawLibrary.h index 62791239..a8d3ef0d 100644 --- a/logic/minecraft/RawLibrary.h +++ b/logic/minecraft/RawLibrary.h @@ -18,6 +18,8 @@ typedef std::shared_ptr<RawLibrary> RawLibraryPtr; class RawLibrary { + friend class OneSixVersionFormat; + friend class MojangVersionFormat; public: RawLibrary() { @@ -41,12 +43,6 @@ public: return newlib; } - /// read and create a basic library - static RawLibraryPtr fromJson(const QJsonObject &libObj, const QString &filename); - - /// Convert the library back to an JSON object - QJsonObject toJson() const; - public: /* methods */ /// Returns the raw name field const GradleSpecifier & rawName() const |