summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-07-07 20:29:10 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-07-07 20:29:10 (GMT)
commit3ef9dabfc62cb3daf0b88543a5d65d31e8eb5977 (patch)
tree980de61384d9cb924d130eedb051245f02434776 /Swift/Controllers/Chat/ChatsManager.h
parentebda58fd30c7a4aec8f04e3751de869579b71cac (diff)
downloadswift-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.h2
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);