| e8555c89 Andy McCall |
1 |
#ifndef INPUTEVENTFACTORY_HH |
| 2 |
#define INPUTEVENTFACTORY_HH |
| 3 |
|
| 4 |
#include "Event.hh" |
| 5 |
#include <string_view> |
| 6 |
|
| 7 |
namespace openmsx { |
| 8 |
|
| 9 |
class TclObject; |
| 10 |
class Interpreter; |
| 11 |
|
| 12 |
namespace InputEventFactory |
| 13 |
{ |
| 14 |
[[nodiscard]] Event createInputEvent(std::string_view str, Interpreter& interp); |
| 15 |
[[nodiscard]] Event createInputEvent(const TclObject& str, Interpreter& interp); |
| 16 |
} |
| 17 |
|
| 18 |
} |
| 19 |
|
| 20 |
#endif |