summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-18 22:33:28 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-18 22:33:28 +0300
commit71ba93abb9436eabc9fed8e4e49ab5cdee47bb38 (patch)
tree87f9fc99f15d84a8a63b3fbc68950650f9ebc0ed /src/gui/chatwindow.h
parentbc39b3c006145c6db41e7fcfac9da512944774f3 (diff)
downloadplus-71ba93abb9436eabc9fed8e4e49ab5cdee47bb38.tar.gz
plus-71ba93abb9436eabc9fed8e4e49ab5cdee47bb38.tar.bz2
plus-71ba93abb9436eabc9fed8e4e49ab5cdee47bb38.tar.xz
plus-71ba93abb9436eabc9fed8e4e49ab5cdee47bb38.zip
Impliment away log in away mode.
Diffstat (limited to 'src/gui/chatwindow.h')
-rw-r--r--src/gui/chatwindow.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/chatwindow.h b/src/gui/chatwindow.h
index d22aea64c..d68fa7671 100644
--- a/src/gui/chatwindow.h
+++ b/src/gui/chatwindow.h
@@ -248,6 +248,13 @@ class ChatWindow : public Window,
void adjustTabSize();
+ void addToAwayLog(std::string line);
+
+ void displayAwayLog();
+
+ void clearAwayLog()
+ { mAwayLog.clear(); }
+
protected:
friend class ChatTab;
friend class WhisperTab;
@@ -316,6 +323,7 @@ class ChatWindow : public Window,
ColorListModel *mColorListModel;
int mChatColor;
unsigned int mChatHistoryIndex;
+ std::list<std::string> mAwayLog;
};
extern ChatWindow *chatWindow;