diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-26 09:42:43 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-26 09:42:43 -0600 |
commit | 9e4a8ea095a1a0613d7b128f4e29c69643137b07 (patch) | |
tree | 82dfb0a17dfc3439554efc77a3d18bf5165cebc3 /src/gui/widgets/chattab.h | |
parent | cdcadf6e99a6deaa5b929cdec9736ab1fb280f65 (diff) | |
download | mana-9e4a8ea095a1a0613d7b128f4e29c69643137b07.tar.gz mana-9e4a8ea095a1a0613d7b128f4e29c69643137b07.tar.bz2 mana-9e4a8ea095a1a0613d7b128f4e29c69643137b07.tar.xz mana-9e4a8ea095a1a0613d7b128f4e29c69643137b07.zip |
Add ChannelTab for chat channels
This fixes TMWServ compilation form the previous commit.
Diffstat (limited to 'src/gui/widgets/chattab.h')
-rw-r--r-- | src/gui/widgets/chattab.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ -59,6 +59,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 * command handler @@ -81,6 +89,9 @@ class ChatTab : public Tab protected: friend class ChatWindow; + + void sendChat(std::string &msg); + ScrollArea *mScrollArea; BrowserBox *mTextOutput; //Recorder *mRecorder; |