Make various instance stuff to take references to other instance objs
[lsnes.git] / include / core / command.hpp
blobed62afb092a89b1638ff6b7f1b1fb8d05bf77834
1 #ifndef _command__hpp__included__
2 #define _command__hpp__included__
4 #include "library/command.hpp"
5 #include <stdexcept>
6 #include <string>
7 #include <set>
9 extern command::set lsnes_cmds;
11 namespace keyboard
13 class mapper;
14 class invbind;
17 class alias_binds_manager
19 public:
20 alias_binds_manager(keyboard::mapper& _mapper, command::group& _command);
21 ~alias_binds_manager();
22 void operator()();
23 private:
24 keyboard::mapper& mapper;
25 command::group& command;
26 std::map<std::string, keyboard::invbind*> alias_binds;
29 #endif