diff options
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; |