diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-26 21:45:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-26 22:01:51 +0300 |
commit | 5889bd94d241b8454268804861a67c79315a7731 (patch) | |
tree | b37aaec28083110308fbbc5fa3a2c4bb07ce2ed7 /src/gui/windows | |
parent | bae784c3718b2d28bef80ef57f23c47cc4342c64 (diff) | |
download | manaverse-5889bd94d241b8454268804861a67c79315a7731.tar.gz manaverse-5889bd94d241b8454268804861a67c79315a7731.tar.bz2 manaverse-5889bd94d241b8454268804861a67c79315a7731.tar.xz manaverse-5889bd94d241b8454268804861a67c79315a7731.zip |
add chat command for uploading main config.xml
New chat command: /uploadconfig
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 5 | ||||
-rw-r--r-- | src/gui/windows/chatwindow.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index b9a2592fa..62a032341 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -1949,3 +1949,8 @@ void ChatWindow::addGlobalMessage(const std::string &line) else localChatTab->chatLog(line, BY_GM); } + +bool ChatWindow::isTabPresent(const ChatTab *const tab) const +{ + return mChatTabs->isTabPresent(tab); +} diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h index 014eceb5a..c000215f1 100644 --- a/src/gui/windows/chatwindow.h +++ b/src/gui/windows/chatwindow.h @@ -292,6 +292,8 @@ class ChatWindow final : public Window, void postInit() override final; + bool isTabPresent(const ChatTab *const tab) const A_WARN_UNUSED; + static void localPetSay(const std::string &nick, const std::string &text); |