diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-07-07 20:29:10 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-07-07 20:29:10 (GMT) |
commit | 3ef9dabfc62cb3daf0b88543a5d65d31e8eb5977 (patch) | |
tree | 980de61384d9cb924d130eedb051245f02434776 /Swift/Controllers/Chat/ChatsManager.h | |
parent | ebda58fd30c7a4aec8f04e3751de869579b71cac (diff) | |
download | swift-3ef9dabfc62cb3daf0b88543a5d65d31e8eb5977.zip swift-3ef9dabfc62cb3daf0b88543a5d65d31e8eb5977.tar.bz2 |
Add setUnreadCount to ChatListView
Resolves: #904
Diffstat (limited to 'Swift/Controllers/Chat/ChatsManager.h')
-rw-r--r-- | Swift/Controllers/Chat/ChatsManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatsManager.h b/Swift/Controllers/Chat/ChatsManager.h index 24b0f97..ccfdb3a 100644 --- a/Swift/Controllers/Chat/ChatsManager.h +++ b/Swift/Controllers/Chat/ChatsManager.h @@ -51,6 +51,7 @@ namespace Swift { void setOnline(bool enabled); void setServerDiscoInfo(boost::shared_ptr<DiscoInfo> info); void handleIncomingMessage(boost::shared_ptr<Message> message); + ChatListWindow::Chat createChatListChatItem(const JID& jid, const std::string& activity); private: void handleChatRequest(const std::string& contact); @@ -73,6 +74,7 @@ namespace Swift { void handleChatMadeRecent(); void handleMUCBookmarkActivated(const MUCBookmark&); void handleRecentActivated(const ChatListWindow::Chat&); + void handleUnreadCountChanged(ChatController* controller); ChatController* getChatControllerOrFindAnother(const JID &contact); ChatController* createNewChatController(const JID &contact); |