mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-22 11:39:55 +00:00
NOISSUE share logic for new attributes between mojang and onesix format
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user