summaryrefslogtreecommitdiff
path: root/src/modlist.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-08-29 15:20:46 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-08-29 15:20:46 +0200
commit97e9e7cf2be5f8f24f62aa25d4669eda885e8567 (patch)
tree721432044b8509465db7c7c5eb24630b14445035 /src/modlist.h
parente421837ba00b7a6cbe9ace477836f067dca58828 (diff)
Refactor the way m_ModStateChanged works.
Diffstat (limited to 'src/modlist.h')
-rw-r--r--src/modlist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modlist.h b/src/modlist.h
index 22eb7962..1d16339f 100644
--- a/src/modlist.h
+++ b/src/modlist.h
@@ -124,6 +124,14 @@ public:
void highlightMods(const QItemSelectionModel *selection, const MOShared::DirectoryEntry &directoryEntry);
+ /**
+ * @brief Notify the most list that the state of the specified mods has changed. This is used
+ * to notify the plugin that registered through onModStateChanged().
+ *
+ * @param modIndices Indices of the mods that changed.
+ */
+ void notifyModStateChanged(QList<unsigned int> modIndices) const;
+
public:
/// \copydoc MOBase::IModList::displayName