summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-07-04 18:23:10 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-07-04 18:23:10 (GMT)
commite2fd68762f2bca98e415da2a287c523042ed36a8 (patch)
treead7b999a0f08dca631c07ee1cfe89b2cce90f151 /Swift/Controllers/UIInterfaces
parentc78424678261c59bcbf924b53e1ebe12b6cc1201 (diff)
downloadswift-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.h5
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;
};
}