summaryrefslogtreecommitdiffstats
path: root/libmultimc/include/instversionlist.h
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-05-03 20:14:38 -0500
committerAndrew <forkk@forkk.net>2013-05-03 20:14:38 -0500
commit857a4e4dbed88b647619c213d731dc460d034820 (patch)
treeddff2ab3d6af3fb049b1931cd8b27cbedd7b6ee3 /libmultimc/include/instversionlist.h
parent055198303c7bf15f456687838c37650871596946 (diff)
downloadMultiMC-857a4e4dbed88b647619c213d731dc460d034820.tar
MultiMC-857a4e4dbed88b647619c213d731dc460d034820.tar.gz
MultiMC-857a4e4dbed88b647619c213d731dc460d034820.tar.lz
MultiMC-857a4e4dbed88b647619c213d731dc460d034820.tar.xz
MultiMC-857a4e4dbed88b647619c213d731dc460d034820.zip
Implemented version list sorting.
Resolves MMC-8: https://jira.forkk.net/browse/MMC-8
Diffstat (limited to 'libmultimc/include/instversionlist.h')
-rw-r--r--libmultimc/include/instversionlist.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmultimc/include/instversionlist.h b/libmultimc/include/instversionlist.h
index 1aabc5cf..e28bd96f 100644
--- a/libmultimc/include/instversionlist.h
+++ b/libmultimc/include/instversionlist.h
@@ -88,6 +88,11 @@ public:
*/
virtual const InstVersion *getLatestStable();
+ /*!
+ * Sorts the version list.
+ */
+ virtual void sort() = 0;
+
protected slots:
/*!
* Updates this list with the given list of versions.