diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-07-25 20:15:31 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-07-25 20:15:31 (GMT) |
commit | 719127a8772f921fdba3169b449a4407143c8c45 (patch) | |
tree | 143db01c914c14d5f5261393a8f2de4ecc18866b /Swift/QtUI/QtChatWindow.h | |
parent | 501989d4b371c850a1c5a0350ca3f1c4900305f4 (diff) | |
download | swift-719127a8772f921fdba3169b449a4407143c8c45.zip swift-719127a8772f921fdba3169b449a4407143c8c45.tar.bz2 |
Preparation for merging presences in the chat log.
Diffstat (limited to 'Swift/QtUI/QtChatWindow.h')
-rw-r--r-- | Swift/QtUI/QtChatWindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatWindow.h b/Swift/QtUI/QtChatWindow.h index f68ff1c..1770186 100644 --- a/Swift/QtUI/QtChatWindow.h +++ b/Swift/QtUI/QtChatWindow.h @@ -30,6 +30,7 @@ namespace Swift { void addMessage(const String &message, const String &senderName, bool senderIsSelf, const boost::optional<SecurityLabel>& label, const String& avatarPath, const boost::posix_time::ptime& time); void addAction(const String &message, const String &senderName, bool senderIsSelf, const boost::optional<SecurityLabel>& label, const String& avatarPath, const boost::posix_time::ptime& time); void addSystemMessage(const String& message); + void addPresenceMessage(const String& message); void addErrorMessage(const String& errorMessage); void show(); void activate(); @@ -81,6 +82,7 @@ namespace Swift { std::vector<SecurityLabel> availableLabels_; bool previousMessageWasSelf_; bool previousMessageWasSystem_; + bool previousMessageWasPresence_; QString previousSenderName_; bool inputClearing_; UIEventStream* eventStream_; |