summaryrefslogtreecommitdiff
path: root/src/profile.h
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-01-01 17:07:52 -0600
committerLostDragonist <lost.dragonist@gmail.com>2019-01-01 17:07:52 -0600
commit15e47114175d7dd86cd6e774aff1d7872e87a647 (patch)
tree6bb64a158b56717ba4b5aaccc64108bffce00102 /src/profile.h
parentd8396bfa2cde422c7522b0e6a78b0d5ab2e218ac (diff)
parent5ad411cd47fc3193c6c87a745e41bd6c09b687ab (diff)
Merge remote-tracking branch 'remotes/origin/Develop' into archive_conflicts_2
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()