diff options
Diffstat (limited to 'src/modlist.h')
| -rw-r--r-- | src/modlist.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/modlist.h b/src/modlist.h index e0bc9df9..b946e009 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -62,6 +62,7 @@ public: }; typedef boost::signals2::signal<void (const QString &, ModStates)> SignalModStateChanged; + typedef boost::signals2::signal<void (const QString &, int, int)> SignalModMoved; public: @@ -113,6 +114,9 @@ public: /// \copydoc MOBase::IModList::onModStateChanged virtual bool onModStateChanged(const std::function<void (const QString &, ModStates)> &func); + /// \copydoc MOBase::IModList::onModMoved + virtual bool onModMoved(const std::function<void (const QString &, int, int)> &func); + public: // implementation of virtual functions of QAbstractItemModel virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; @@ -276,11 +280,8 @@ private: TModInfoChange m_ChangeInfo; SignalModStateChanged m_ModStateChanged; + SignalModMoved m_ModMoved; - - // QAbstractItemModel interface - - // IModList interface }; #endif // MODLIST_H |
