summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-07-25 20:15:31 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-07-25 20:15:31 (GMT)
commit719127a8772f921fdba3169b449a4407143c8c45 (patch)
tree143db01c914c14d5f5261393a8f2de4ecc18866b /Swift/Controllers/UnitTest
parent501989d4b371c850a1c5a0350ca3f1c4900305f4 (diff)
downloadswift-contrib-719127a8772f921fdba3169b449a4407143c8c45.zip
swift-contrib-719127a8772f921fdba3169b449a4407143c8c45.tar.bz2
Preparation for merging presences in the chat log.
Diffstat (limited to 'Swift/Controllers/UnitTest')
-rw-r--r--Swift/Controllers/UnitTest/MockChatWindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/UnitTest/MockChatWindow.h b/Swift/Controllers/UnitTest/MockChatWindow.h
index ff61bf6..4985cbb 100644
--- a/Swift/Controllers/UnitTest/MockChatWindow.h
+++ b/Swift/Controllers/UnitTest/MockChatWindow.h
@@ -18,6 +18,7 @@ namespace Swift {
virtual void addAction(const String& message, const String& /*senderName*/, bool /*senderIsSelf*/, const boost::optional<SecurityLabel>& /*label*/, const String& /*avatarPath*/, const boost::posix_time::ptime&) {lastMessageBody_ = message;};
virtual void addSystemMessage(const String& /*message*/) {};
virtual void addErrorMessage(const String& /*message*/) {};
+ virtual void addPresenceMessage(const String& /*message*/) {};
virtual void setContactChatState(ChatState::ChatStateType /*state*/) {};
virtual void setName(const String& name) {name_ = name;};