openMSX
InputEventFactory.hh
Go to the documentation of this file.
1 #ifndef INPUTEVENTFACTORY_HH
2 #define INPUTEVENTFACTORY_HH
3 
4 #include <string_view>
5 
6 namespace openmsx {
7 
8 class Event;
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 } // namespace openmsx
19 
20 #endif
Event createInputEvent(const TclObject &str, Interpreter &interp)
This file implemented 3 utility functions:
Definition: Autofire.cc:9