diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-04 15:45:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-04 15:45:30 +0300 |
commit | 6f06cd42b8e56aaae2be853a31d73d0115a39c2a (patch) | |
tree | 589d5d51b66018b6063bf954f90b96a3244b2e3d /src/gui/windows | |
parent | 13b4a16c46983b786d31f6cf67632a3bd4e14b8f (diff) | |
download | manaplus-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.tar.gz manaplus-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.tar.bz2 manaplus-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.tar.xz manaplus-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.zip |
Add chat command for create chat room (incomplete).
New chat command: /chatroom NAME
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 6 | ||||
-rw-r--r-- | src/gui/windows/chatwindow.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 748114b10..2c1f580ad 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -1219,6 +1219,12 @@ ChatTab *ChatWindow::addSpecialChannelTab(const std::string &name, return ret; } +ChatTab *ChatWindow::addChatRoomTab(const std::string &name, + const bool switchTo) +{ + return nullptr; +} + ChatTab *ChatWindow::addChannelTab(const std::string &name, const bool switchTo) { 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); |