From 71ba93abb9436eabc9fed8e4e49ab5cdee47bb38 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Apr 2011 22:33:28 +0300 Subject: Impliment away log in away mode. --- src/gui/chatwindow.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gui/chatwindow.h') 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 mAwayLog; }; extern ChatWindow *chatWindow; -- cgit v1.2.3-60-g2f50