From d6e4fb29713d6ce55b092c0e22412f6121e7f516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 4 Nov 2013 00:11:20 +0100 Subject: Implement instance sorting options. --- MultiMC.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'MultiMC.h') diff --git a/MultiMC.h b/MultiMC.h index 62375cba..cd4a5f7d 100644 --- a/MultiMC.h +++ b/MultiMC.h @@ -23,6 +23,15 @@ class JavaVersionList; #endif #define MMC (static_cast(QCoreApplication::instance())) +// FIXME: possibly move elsewhere +enum InstSortMode +{ + // Sort alphabetically by name. + Sort_Name, + // Sort by which instance was launched most recently. + Sort_LastLaunch, +}; + class MultiMC : public QApplication { Q_OBJECT -- cgit v1.2.3