diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-06-06 10:33:34 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-06-06 11:03:11 (GMT) |
commit | babda920a6c6efdd6464093b55c7ff752181a63b (patch) | |
tree | 0333cc2a4cc4e97354c6f208c690eb8076fb9ad0 /Swift/Controllers/UIInterfaces | |
parent | 4fbd449f8ec45eb4cc3f5fcd51630caf102145af (diff) | |
download | swift-contrib-babda920a6c6efdd6464093b55c7ff752181a63b.zip swift-contrib-babda920a6c6efdd6464093b55c7ff752181a63b.tar.bz2 |
Use delay when printing MUC history.
Resolves: #415
Diffstat (limited to 'Swift/Controllers/UIInterfaces')
-rw-r--r-- | Swift/Controllers/UIInterfaces/ChatWindow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Swift/Controllers/UIInterfaces/ChatWindow.h b/Swift/Controllers/UIInterfaces/ChatWindow.h index 7e97f0c..50a0b39 100644 --- a/Swift/Controllers/UIInterfaces/ChatWindow.h +++ b/Swift/Controllers/UIInterfaces/ChatWindow.h @@ -10,6 +10,7 @@ #include <boost/optional.hpp> #include "Swiften/Base/boost_bsignals.h" #include <boost/shared_ptr.hpp> +#include <boost/date_time/posix_time/posix_time.hpp> #include <vector> #include "Swiften/Base/String.h" @@ -27,8 +28,8 @@ namespace Swift { ChatWindow() {} virtual ~ChatWindow() {}; - virtual void addMessage(const String& message, const String& senderName, bool senderIsSelf, const boost::optional<SecurityLabel>& label, const String& avatarPath) = 0; - virtual void addAction(const String& message, const String& senderName, bool senderIsSelf, const boost::optional<SecurityLabel>& label, const String& avatarPath) = 0; + virtual void addMessage(const String& message, const String& senderName, bool senderIsSelf, const boost::optional<SecurityLabel>& label, const String& avatarPath, const boost::posix_time::ptime& time) = 0; + virtual void addAction(const String& message, const String& senderName, bool senderIsSelf, const boost::optional<SecurityLabel>& label, const String& avatarPath, const boost::posix_time::ptime& time) = 0; virtual void addSystemMessage(const String& message) = 0; virtual void addErrorMessage(const String& message) = 0; |