diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-07-04 18:23:10 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-07-04 18:23:10 (GMT) |
commit | e2fd68762f2bca98e415da2a287c523042ed36a8 (patch) | |
tree | ad7b999a0f08dca631c07ee1cfe89b2cce90f151 /Swift/Controllers/UIInterfaces | |
parent | c78424678261c59bcbf924b53e1ebe12b6cc1201 (diff) | |
download | swift-contrib-e2fd68762f2bca98e415da2a287c523042ed36a8.zip swift-contrib-e2fd68762f2bca98e415da2a287c523042ed36a8.tar.bz2 |
Moving some ChatList logic to Controllers.
Diffstat (limited to 'Swift/Controllers/UIInterfaces')
-rw-r--r-- | Swift/Controllers/UIInterfaces/ChatListWindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/Controllers/UIInterfaces/ChatListWindow.h b/Swift/Controllers/UIInterfaces/ChatListWindow.h index a52f24d..ce75ae8 100644 --- a/Swift/Controllers/UIInterfaces/ChatListWindow.h +++ b/Swift/Controllers/UIInterfaces/ChatListWindow.h @@ -10,6 +10,8 @@ #include <boost/shared_ptr.hpp> #include <Swiften/MUC/MUCBookmark.h> +#include "Swiften/Base/boost_bsignals.h" + namespace Swift { class ChatListWindow { public: @@ -31,5 +33,8 @@ namespace Swift { virtual void removeMUCBookmark(const MUCBookmark& bookmark) = 0; virtual void setRecents(const std::list<Chat>& recents) = 0; virtual void clearBookmarks() = 0; + + boost::signal<void (const MUCBookmark&)> onMUCBookmarkActivated; + boost::signal<void (const Chat&)> onRecentActivated; }; } |