summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-08-30 18:25:18 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-08-30 18:25:28 (GMT)
commitb675400b6bc22d841ca5273939ab64be277adb32 (patch)
treee566f2d035fd7f49ae79596c23dbc323b4d9c74c /Swift/QtUI/QtChatView.h
parent2f3d74e471022d21477adccf013a0430956bddbf (diff)
downloadswift-b675400b6bc22d841ca5273939ab64be277adb32.zip
swift-b675400b6bc22d841ca5273939ab64be277adb32.tar.bz2
Assertion checks for adding messages etc.
Diffstat (limited to 'Swift/QtUI/QtChatView.h')
-rw-r--r--Swift/QtUI/QtChatView.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatView.h b/Swift/QtUI/QtChatView.h
index 3936c18..01c1ad7 100644
--- a/Swift/QtUI/QtChatView.h
+++ b/Swift/QtUI/QtChatView.h
@@ -28,6 +28,8 @@ namespace Swift {
QtChatView(QtChatTheme* theme, QWidget* parent);
void addMessage(boost::shared_ptr<ChatSnippet> snippet);
+ void correctLastMessage(const QString& newMessage);
+ void correctLastMessage(const QString& newMessage, const QString& note);
bool isScrolledToBottom() const;
signals:
@@ -52,7 +54,6 @@ namespace Swift {
bool viewReady_;
QtWebView* webView_;
QWebPage* webPage_;
- QString previousContinuationElementID_;
QList<boost::shared_ptr<ChatSnippet> > queuedSnippets_;
QtChatTheme* theme_;