summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/ProfilePatch.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-03-30 01:05:58 +0200
committerPetr Mrázek <peterix@gmail.com>2017-04-07 00:20:02 +0200
commit2ac0edbbdb27e12bae00c4779da135582bde89f5 (patch)
tree0870890a8f00bb958a679175691724da727df580 /api/logic/minecraft/ProfilePatch.h
parent53188386b807f1f1ca5eebcd08303633ca4a13fb (diff)
downloadMultiMC-2ac0edbbdb27e12bae00c4779da135582bde89f5.tar
MultiMC-2ac0edbbdb27e12bae00c4779da135582bde89f5.tar.gz
MultiMC-2ac0edbbdb27e12bae00c4779da135582bde89f5.tar.lz
MultiMC-2ac0edbbdb27e12bae00c4779da135582bde89f5.tar.xz
MultiMC-2ac0edbbdb27e12bae00c4779da135582bde89f5.zip
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.
Diffstat (limited to 'api/logic/minecraft/ProfilePatch.h')
-rw-r--r--api/logic/minecraft/ProfilePatch.h8
1 files changed, 6 insertions, 2 deletions
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<class VersionFile> getVersionFile();
+ virtual std::shared_ptr<class Meta::VersionList> getVersionList();
void setVanilla (bool state);
void setRemovable (bool state);
void setRevertible (bool state);
- void setCustomizable (bool state);
void setMovable (bool state);
+
+ const QList<PatchProblem> 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;