summaryrefslogtreecommitdiff
path: root/src/profile.h
diff options
context:
space:
mode:
authorAl <gabriel.cortesi@outlook.com>2019-01-01 22:57:00 +0100
committerAl <gabriel.cortesi@outlook.com>2019-01-01 22:57:00 +0100
commit9a2b9224ca20f44d69029b8e7847dad32c8e96aa (patch)
tree8eb9eef2d58389a7ec8d7505b6243db536e7f67d /src/profile.h
parent35995a49892a015080f52d5b863ddaf6bb8455d3 (diff)
Sort Separators by priority in Send To dialog.
Diffstat (limited to 'src/profile.h')
-rw-r--r--src/profile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/profile.h b/src/profile.h
index a9d68062..95a5c59d 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -234,6 +234,13 @@ public:
std::vector<std::tuple<QString, QString, int> > getActiveMods();
/**
+ * @brief retrieve a mod of the indexes ordered by priority
+ *
+ * @return map of indexes by priority
+ **/
+ std::map<int, unsigned int> getAllIndexesByPriority() { return m_ModIndexByPriority; }
+
+ /**
* retrieve the number of mods for which this object has status information.
* This is usually the same as ModInfo::getNumMods() except between
* calls to ModInfo::updateFromDisc() and the Profile::refreshModStatus()