2011-09-14 20:06:36 +03:00
|
|
|
#ifndef _command__hpp__included__
|
|
|
|
#define _command__hpp__included__
|
|
|
|
|
|
|
|
#include <stdexcept>
|
|
|
|
#include <string>
|
2011-11-05 20:09:10 +02:00
|
|
|
#include <set>
|
2013-12-18 22:25:04 +02:00
|
|
|
#include "library/command.hpp"
|
2014-05-18 00:38:58 +03:00
|
|
|
#include "library/keyboard-mapper.hpp"
|
2011-09-14 20:06:36 +03:00
|
|
|
|
2014-05-11 20:01:26 +03:00
|
|
|
extern command::set lsnes_cmds;
|
2011-09-14 20:06:36 +03:00
|
|
|
|
2014-05-18 00:38:58 +03:00
|
|
|
class emulator_instance;
|
|
|
|
|
|
|
|
class alias_binds_manager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
alias_binds_manager(emulator_instance& _instance);
|
|
|
|
~alias_binds_manager();
|
|
|
|
void operator()();
|
|
|
|
private:
|
|
|
|
emulator_instance& instance;
|
|
|
|
std::map<std::string, keyboard::invbind*> alias_binds;
|
|
|
|
};
|
2013-06-14 13:40:08 +03:00
|
|
|
|
2011-09-17 00:06:20 +03:00
|
|
|
#endif
|