blob: d26b7a12d972f809615750b502244a41379fb718 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
};
|