diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-10-25 15:52:53 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-10-25 15:52:53 +0100 |
| commit | 4e11faf1c8b19013da6d5686f79b67c1c746653b (patch) | |
| tree | 14a132b9f70eca24eb08fed8b35957e36f6fc114 /src/modlistproxy.h | |
| parent | 52cfb8e8a7609c8b763652e1575a769dd5fe1b02 (diff) | |
Move IOrganizer::onModInstalled() to IModList. Add IModList::onModRemoved().
Diffstat (limited to 'src/modlistproxy.h')
| -rw-r--r-- | src/modlistproxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modlistproxy.h b/src/modlistproxy.h index 13399e0a..5b0a7114 100644 --- a/src/modlistproxy.h +++ b/src/modlistproxy.h @@ -20,6 +20,8 @@ public: int setActive(const QStringList& names, bool active) override; int priority(const QString& name) const override; bool setPriority(const QString& name, int newPriority) override; + bool onModInstalled(const std::function<void(MOBase::IModInterface *)>& func) override; + bool onModRemoved(const std::function<void(QString const&)>& func) override; bool onModStateChanged(const std::function<void(const std::map<QString, ModStates>&)>& func) override; bool onModMoved(const std::function<void(const QString&, int, int)>& func) override; |
