summaryrefslogtreecommitdiff
path: root/src/commandhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r--src/commandhandler.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/commandhandler.h b/src/commandhandler.h
index 58fe78bf5..2bcd9e596 100644
--- a/src/commandhandler.h
+++ b/src/commandhandler.h
@@ -61,13 +61,29 @@ class CommandHandler final
void handleCommand(const std::string &command,
ChatTab *const tab = localChatTab);
+ void handleCommands(const std::string &command,
+ ChatTab *const tab = localChatTab);
+
void invokeCommand(const std::string &type,
const std::string &args,
ChatTab *const tab,
const bool warn = false);
- void handleCommands(const std::string &command,
- ChatTab *const tab = localChatTab);
+ void invokeCommand(const int type,
+ const bool warn = false);
+
+ void invokeCommand(const int type,
+ const std::string &args,
+ ChatTab *const tab,
+ const bool warn = false);
+
+ void invokeCommand(const int type,
+ const std::string &args,
+ const bool warn = false);
+
+ void invokeCommand(const int type,
+ ChatTab *const tab,
+ const bool warn = false);
protected:
friend class ChatTab;