From ec6204e447fd9e88b4cf2a628ed220f93f271fd0 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sat, 19 Mar 2016 03:06:32 +0100 Subject: NOISSUE share logic for new attributes between mojang and onesix format --- logic/minecraft/ProfilePatch.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'logic/minecraft/ProfilePatch.h') diff --git a/logic/minecraft/ProfilePatch.h b/logic/minecraft/ProfilePatch.h index 56bc58a7..fa2f0a0f 100644 --- a/logic/minecraft/ProfilePatch.h +++ b/logic/minecraft/ProfilePatch.h @@ -3,6 +3,7 @@ #include #include #include +#include #include "JarMod.h" class MinecraftProfile; @@ -43,7 +44,7 @@ private: QString m_description; }; -class ProfilePatch +class ProfilePatch : public std::enable_shared_from_this { public: virtual ~ProfilePatch(){}; @@ -73,6 +74,8 @@ public: virtual VersionSource getVersionSource() = 0; + virtual std::shared_ptr getVersionFile() = 0; + virtual const QList& getProblems() { return m_problems; -- cgit