diff options
| author | Tannin <devnull@localhost> | 2014-07-14 21:22:44 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-07-14 21:22:44 +0200 |
| commit | 84c66727bff954fd0820fc9f33833848496e9531 (patch) | |
| tree | ca3497150eb9f124d7a124cc48c8d6d1330b7243 /src/modinfo.h | |
| parent | af8973312188c3d90b8e3f8e2f8036d35e3f21ea (diff) | |
- when highlighting a mod the overwritten and overwriting mods are now highlighted in the list
- when starting an external application MO now wraps the process in a job and waits on that instead. This way MO is not unlocked early when skyrim is started through skse
- mod info dialog no longer offers the esp tab for foreign mods because that caused confusion
- updated translation files
- download directory and mod directory are now created if necessary
- bugfix: staging script created unnecessary copies of translation files
- bugfix: potential invalid array access when trying to determine best mod order
- bugfix: deleter file wasn't removed after esp hiding was disabled
- bugfix: potential access to to un-initialized login reply
- bugfix: changed the initialization order to allow more ui controls to be localized
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/modinfo.h b/src/modinfo.h index ef647eab..cacddadf 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -472,6 +472,18 @@ public: */ virtual void saveMeta() {} + /** + * @brief retrieve list of mods (as mod index) that are overwritten by this one. Updates may be delayed + * @return + */ + virtual std::set<unsigned int> getModOverwrite() { return std::set<unsigned int>(); } + + /** + * @brief retrieve list of mods (as mod index) that overwrite this one. Updates may be delayed + * @return + */ + virtual std::set<unsigned int> getModOverwritten() { return std::set<unsigned int>(); } + signals: /** @@ -525,6 +537,11 @@ public: * @brief clear all caches held for this mod */ virtual void clearCaches(); + + virtual std::set<unsigned int> getModOverwrite() { return m_OverwriteList; } + + virtual std::set<unsigned int> getModOverwritten() { return m_OverwrittenList; } + private: enum EConflictType { @@ -554,6 +571,9 @@ private: mutable EConflictType m_CurrentConflictState; mutable QTime m_LastConflictCheck; + mutable std::set<unsigned int> m_OverwriteList; // indices of mods overritten by this mod + mutable std::set<unsigned int> m_OverwrittenList; // indices of mods overwriting this mod + }; |
