diff options
Diffstat (limited to 'logic/BaseVersionList.h')
-rw-r--r-- | logic/BaseVersionList.h | 10 |
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; |