From 2ac0edbbdb27e12bae00c4779da135582bde89f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 30 Mar 2017 01:05:58 +0200 Subject: NOISSUE preview of LWJGL version changing It still needs work - some LWJGL versions are exclusive to macOS. This has to be encoded in the json. --- api/logic/minecraft/ProfilePatch.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'api/logic/minecraft/ProfilePatch.h') diff --git a/api/logic/minecraft/ProfilePatch.h b/api/logic/minecraft/ProfilePatch.h index 9e2555af..fb6b2f05 100644 --- a/api/logic/minecraft/ProfilePatch.h +++ b/api/logic/minecraft/ProfilePatch.h @@ -11,6 +11,7 @@ class MinecraftProfile; namespace Meta { class Version; + class VersionList; } class VersionFile; @@ -41,17 +42,20 @@ public: virtual QString getFilename(); virtual std::shared_ptr getVersionFile(); + virtual std::shared_ptr getVersionList(); void setVanilla (bool state); void setRemovable (bool state); void setRevertible (bool state); - void setCustomizable (bool state); void setMovable (bool state); + + const QList getProblems() override; + ProblemSeverity getProblemSeverity() override; + protected: // Properties for UI and version manipulation from UI in general bool m_isMovable = false; - bool m_isCustomizable = false; bool m_isRevertible = false; bool m_isRemovable = false; bool m_isVanilla = false; -- cgit v1.2.3