summaryrefslogtreecommitdiffstats
path: root/MultiMC.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-11-04 00:11:20 +0100
committerPetr Mrázek <peterix@gmail.com>2013-11-04 00:11:20 +0100
commitd6e4fb29713d6ce55b092c0e22412f6121e7f516 (patch)
treece4c2c3a2786bdbb9752c26d6feaab3735ba9bd6 /MultiMC.h
parent44669290747b1d254d10c130e4e728051c8c4c5d (diff)
downloadMultiMC-d6e4fb29713d6ce55b092c0e22412f6121e7f516.tar
MultiMC-d6e4fb29713d6ce55b092c0e22412f6121e7f516.tar.gz
MultiMC-d6e4fb29713d6ce55b092c0e22412f6121e7f516.tar.lz
MultiMC-d6e4fb29713d6ce55b092c0e22412f6121e7f516.tar.xz
MultiMC-d6e4fb29713d6ce55b092c0e22412f6121e7f516.zip
Implement instance sorting options.
Diffstat (limited to 'MultiMC.h')
-rw-r--r--MultiMC.h9
1 files changed, 9 insertions, 0 deletions
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<MultiMC *>(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