diff options
Diffstat (limited to 'keybinds.h')
| -rw-r--r-- | keybinds.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/keybinds.h b/keybinds.h new file mode 100644 index 0000000..d26b7a1 --- /dev/null +++ b/keybinds.h @@ -0,0 +1,19 @@ +#pragma once + +#include <unordered_map> +#include <string> + +#include "commands.h" + +class KeybindsModule { + public: + KeybindsModule(CommandsModule& commandsModule); + ~KeybindsModule() = default; + const void bind(const CommandArg* argv); + const void readBinds(const CommandArg* argv); + const void exit(const CommandArg* argv); + private: + std::unordered_map<std::string, std::string> binds; + bool exitNow; + CommandsModule& commandsModule; +}; |
