summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-04 15:45:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-04 15:45:30 +0300
commit6f06cd42b8e56aaae2be853a31d73d0115a39c2a (patch)
tree589d5d51b66018b6063bf954f90b96a3244b2e3d /src/gui/windows/chatwindow.h
parent13b4a16c46983b786d31f6cf67632a3bd4e14b8f (diff)
downloadmanaverse-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.tar.gz
manaverse-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.tar.bz2
manaverse-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.tar.xz
manaverse-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.zip
Add chat command for create chat room (incomplete).
New chat command: /chatroom NAME
Diffstat (limited to 'src/gui/windows/chatwindow.h')
-rw-r--r--src/gui/windows/chatwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h
index 3bbb40e5e..33d6a89bd 100644
--- a/src/gui/windows/chatwindow.h
+++ b/src/gui/windows/chatwindow.h
@@ -199,6 +199,9 @@ class ChatWindow final : public Window,
WhisperTab *getWhisperTab(const std::string &nick) const A_WARN_UNUSED;
+ ChatTab *addChatRoomTab(const std::string &name,
+ const bool switchTo = false);
+
ChatTab *addChannelTab(const std::string &name,
const bool switchTo = false);