summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index a999f8fc..e0e61ce5 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -75,12 +75,12 @@ class ChatWindow : public Window,
* the tabbed area.
*/
void widgetResized(const gcn::Event &event);
-
+
/**
* Gets the focused tab's name
*/
const std::string& getFocused() const;
-
+
/**
* Clear the tab with the given name
*/
@@ -93,8 +93,8 @@ class ChatWindow : public Window,
* @param own Type of message (usually the owner-type).
* @param channelName which channel to send the message to.
*/
- void chatLog(std::string line,
- int own = BY_SERVER,
+ void chatLog(std::string line,
+ int own = BY_SERVER,
std::string channelName = "getFocused\"");
/**
@@ -116,7 +116,7 @@ class ChatWindow : public Window,
* 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
- *
+ *
* @param msg The message text which is to be sent.
*
*/
@@ -156,6 +156,8 @@ class ChatWindow : public Window,
bool
tabExists(const std::string &tabName);
+ void logic();
+
private:
bool mTmpVisible;