summaryrefslogtreecommitdiffstats
path: root/logic/BaseVersionList.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-05-02 12:44:37 +0200
committerPetr Mrázek <peterix@gmail.com>2015-05-02 12:44:37 +0200
commit4fc4a172562a76091721b8c488aafbd6ed2b01ed (patch)
tree618f1f0cb5e2308289178f2398550962f9eed2cd /logic/BaseVersionList.h
parentbb01c91469e3c5cbb250ce47c2d40f00f8be0c0a (diff)
downloadMultiMC-4fc4a172562a76091721b8c488aafbd6ed2b01ed.tar
MultiMC-4fc4a172562a76091721b8c488aafbd6ed2b01ed.tar.gz
MultiMC-4fc4a172562a76091721b8c488aafbd6ed2b01ed.tar.lz
MultiMC-4fc4a172562a76091721b8c488aafbd6ed2b01ed.tar.xz
MultiMC-4fc4a172562a76091721b8c488aafbd6ed2b01ed.zip
NOISSUE handle recommended versions better
Moved constants to the version data file Use recommended Minecraft instead of latest stable for new instances by default
Diffstat (limited to 'logic/BaseVersionList.h')
-rw-r--r--logic/BaseVersionList.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/logic/BaseVersionList.h b/logic/BaseVersionList.h
index 6089c31c..432f6593 100644
--- a/logic/BaseVersionList.h
+++ b/logic/BaseVersionList.h
@@ -90,13 +90,17 @@ public:
virtual BaseVersionPtr findVersion(const QString &descriptor);
/*!
- * \brief Gets the latest stable version of this instance type.
- * This is the version that will be selected by default.
- * By default, this is simply the first version in the list.
+ * \brief Gets the latest stable version from this list
*/
virtual BaseVersionPtr getLatestStable() const;
/*!
+ * \brief Gets the recommended version from this list
+ * If the list doesn't support recommended versions, this works exactly as getLatestStable
+ */
+ virtual BaseVersionPtr getRecommended() const;
+
+ /*!
* Sorts the version list.
*/
virtual void sort() = 0;