ManaPlus
chat.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2011-2019 The ManaPlus Developers
4  * Copyright (C) 2019-2021 Andrei Karas
5  *
6  * This file is part of The ManaPlus Client.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef ACTIONS_CHAT_H
23 #define ACTIONS_CHAT_H
24 
25 #define decHandler(name) bool name(InputEvent &event)
26 
27 struct InputEvent;
28 
29 namespace Actions
30 {
39  decHandler(msg);
48  decHandler(me);
62  decHandler(hat);
69 } // namespace Actions
70 
71 #undef decHandler
72 
73 #endif // ACTIONS_CHAT_H
#define decHandler(name)
Definition: chat.h:25
bool closeAllChatTabs(InputEvent &event)
Definition: chat.cpp:35
bool me(InputEvent &event)
Definition: chat.cpp:48
bool clearChat(InputEvent &event)
Definition: chat.cpp:53
bool chatLangTab(InputEvent &event)
Definition: chat.cpp:58
bool sendMouseKey(InputEvent &event)
Definition: chat.cpp:67
bool sendChars(InputEvent &event)
Definition: chat.cpp:68
bool chatGuildTab(InputEvent &event)
Definition: chat.cpp:61
bool query(InputEvent &event)
Definition: chat.cpp:42
bool closeChatTab(InputEvent &event)
Definition: chat.cpp:34
bool guild(InputEvent &event)
Definition: chat.cpp:47
bool scrollChatDown(InputEvent &event)
Definition: chat.cpp:38
bool guildNotice(InputEvent &event)
Definition: chat.cpp:64
bool chatTradeTab(InputEvent &event)
Definition: chat.cpp:57
bool msg(InputEvent &event)
Definition: chat.cpp:39
bool kickGuild(InputEvent &event)
Definition: chat.cpp:51
bool ignoreAllWhispers(InputEvent &event)
Definition: chat.cpp:36
bool sendGuiKey(InputEvent &event)
Definition: chat.cpp:66
bool createGuild(InputEvent &event)
Definition: chat.cpp:45
bool scrollChatUp(InputEvent &event)
Definition: chat.cpp:37
bool chatGmTab(InputEvent &event)
Definition: chat.cpp:59
bool chatClipboard(InputEvent &event)
Definition: chat.cpp:63
bool translate(InputEvent &event)
Definition: chat.cpp:65
bool chatDebugTab(InputEvent &event)
Definition: chat.cpp:55
bool party(InputEvent &event)
Definition: chat.cpp:46
bool msg2(InputEvent &event)
Definition: chat.cpp:41
bool kickParty(InputEvent &event)
Definition: chat.cpp:50
bool chatPartyTab(InputEvent &event)
Definition: chat.cpp:60
bool prevChatTab(InputEvent &event)
Definition: chat.cpp:32
bool createParty(InputEvent &event)
Definition: chat.cpp:44
bool toggleChat(InputEvent &event)
Definition: chat.cpp:31
bool nextChatTab(InputEvent &event)
Definition: chat.cpp:33
bool msgText(InputEvent &event)
Definition: chat.cpp:40
bool chatBattleTab(InputEvent &event)
Definition: chat.cpp:56
bool hat(InputEvent &event)
Definition: chat.cpp:62
bool chatGeneralTab(InputEvent &event)
Definition: chat.cpp:54
bool toggle(InputEvent &event)
Definition: chat.cpp:49
bool clearChatTab(InputEvent &event)
Definition: chat.cpp:43
bool addText(InputEvent &event)
Definition: chat.cpp:52