From 84c66727bff954fd0820fc9f33833848496e9531 Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 14 Jul 2014 21:22:44 +0200 Subject: - 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 --- src/modinfo.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/modinfo.h') 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 getModOverwrite() { return std::set(); } + + /** + * @brief retrieve list of mods (as mod index) that overwrite this one. Updates may be delayed + * @return + */ + virtual std::set getModOverwritten() { return std::set(); } + signals: /** @@ -525,6 +537,11 @@ public: * @brief clear all caches held for this mod */ virtual void clearCaches(); + + virtual std::set getModOverwrite() { return m_OverwriteList; } + + virtual std::set getModOverwritten() { return m_OverwrittenList; } + private: enum EConflictType { @@ -554,6 +571,9 @@ private: mutable EConflictType m_CurrentConflictState; mutable QTime m_LastConflictCheck; + mutable std::set m_OverwriteList; // indices of mods overritten by this mod + mutable std::set m_OverwrittenList; // indices of mods overwriting this mod + }; -- cgit v1.3.1