summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-26 09:42:43 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-26 09:42:43 -0600
commit9e4a8ea095a1a0613d7b128f4e29c69643137b07 (patch)
tree82dfb0a17dfc3439554efc77a3d18bf5165cebc3 /src/gui/widgets/chattab.h
parentcdcadf6e99a6deaa5b929cdec9736ab1fb280f65 (diff)
downloadmana-client-9e4a8ea095a1a0613d7b128f4e29c69643137b07.tar.gz
mana-client-9e4a8ea095a1a0613d7b128f4e29c69643137b07.tar.bz2
mana-client-9e4a8ea095a1a0613d7b128f4e29c69643137b07.tar.xz
mana-client-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.h11
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;