From c47ec545d87e622aa950e653e4f91721d79bb049 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 21 May 2018 13:58:47 +0200 Subject: Add command to change avatar and channel name Fix bug where application crashes when deleting message, improve url parsing for messages --- include/Command.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/Command.hpp') diff --git a/include/Command.hpp b/include/Command.hpp index fe8a947..fe08664 100644 --- a/include/Command.hpp +++ b/include/Command.hpp @@ -3,6 +3,7 @@ #include #include #include +#include namespace dchat { @@ -13,5 +14,7 @@ namespace dchat public: static bool add(const std::string &cmd, CommandHandlerFunc handlerFunc); static bool call(const std::string &cmd, const std::vector &args); + + static const std::unordered_map& getCommands(); }; } -- cgit v1.2.3