summaryrefslogtreecommitdiff
path: root/src/profile.h
diff options
context:
space:
mode:
authorKrzysztof Starecki <krzysztof.starecki@gmail.com>2019-01-03 01:18:00 +0100
committerKrzysztof Starecki <krzysztof.starecki@gmail.com>2019-01-03 01:20:15 +0100
commitc54bc7edfac52a26ede7c97b9866e545c2f31194 (patch)
tree9408f5a3cc4fe50853f5703c26f894629ca203fa /src/profile.h
parentc57d7567c4f8e89f9fa562c0e3361670391974ee (diff)
parent683d17784b026d857732a8d52bc26709ba0e0322 (diff)
Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into download-tab
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()