NOISSUE share logic for new attributes between mojang and onesix format

This commit is contained in:
Petr Mrázek
2016-03-19 03:06:32 +01:00
parent 9e3534f2f6
commit ec6204e447
11 changed files with 131 additions and 181 deletions

View File

@@ -3,6 +3,7 @@
#include <memory>
#include <QList>
#include <QJsonDocument>
#include <QDateTime>
#include "JarMod.h"
class MinecraftProfile;
@@ -43,7 +44,7 @@ private:
QString m_description;
};
class ProfilePatch
class ProfilePatch : public std::enable_shared_from_this<ProfilePatch>
{
public:
virtual ~ProfilePatch(){};
@@ -73,6 +74,8 @@ public:
virtual VersionSource getVersionSource() = 0;
virtual std::shared_ptr<class VersionFile> getVersionFile() = 0;
virtual const QList<PatchProblem>& getProblems()
{
return m_problems;