From c0d5142d1ed98b62ad87603fa9d2620dce256bd7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Sep 2013 19:46:23 +0300 Subject: add consts in gui classes. --- src/commandhandler.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/commandhandler.h') diff --git a/src/commandhandler.h b/src/commandhandler.h index 0954d95c2..725434ef7 100644 --- a/src/commandhandler.h +++ b/src/commandhandler.h @@ -70,19 +70,19 @@ class CommandHandler final void invokeCommand(const std::string &type, const std::string &args, ChatTab *const tab, - const bool warn = false); + const bool warn = false) const; - void invokeCommand(const int type); + static void invokeCommand(const int type); - void invokeCommand(const int type, - const std::string &args, - ChatTab *const tab); + static void invokeCommand(const int type, + const std::string &args, + ChatTab *const tab); - void invokeCommand(const int type, - const std::string &args); + static void invokeCommand(const int type, + const std::string &args); - void invokeCommand(const int type, - ChatTab *const tab); + static void invokeCommand(const int type, + ChatTab *const tab); protected: friend class ChatTab; @@ -90,9 +90,9 @@ class CommandHandler final CommandsMap mCommands; private: - void callFunc(const CommandInfo &info, - const std::string &args, - ChatTab *const tab); + static void callFunc(const CommandInfo &info, + const std::string &args, + ChatTab *const tab); }; extern CommandHandler *commandHandler; -- cgit v1.2.3-60-g2f50