NOISSUE even more version file refactors

There is no end to them in sight
This commit is contained in:
Petr Mrázek
2016-02-28 19:01:54 +01:00
parent a0b47aee5b
commit 9497b7e96c
16 changed files with 290 additions and 216 deletions

View File

@@ -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