From 9e4a8ea095a1a0613d7b128f4e29c69643137b07 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 26 Mar 2009 09:42:43 -0600 Subject: Add ChannelTab for chat channels This fixes TMWServ compilation form the previous commit. --- src/gui/widgets/chattab.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/gui/widgets/chattab.h') diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h index dd660884..d102d7a0 100644 --- a/src/gui/widgets/chattab.h +++ b/src/gui/widgets/chattab.h @@ -58,6 +58,14 @@ class ChatTab : public Tab */ void chatLog(std::string line, int own, bool ignoreRecord); + /** + * Adds the text to the message list + * + * @param msg The message text which is to be sent. + * + */ + void chatLog(std::string &nick, std::string &msg); + /** * Determines whether the message is a command or message, then * sends the given message to the game server to be said, or to the @@ -81,6 +89,9 @@ class ChatTab : public Tab protected: friend class ChatWindow; + + void sendChat(std::string &msg); + ScrollArea *mScrollArea; BrowserBox *mTextOutput; //Recorder *mRecorder; -- cgit v1.2.3-60-g2f50