openMSX
InputEventFactory.hh
Go to the documentation of this file.
1 #ifndef INPUTEVENTFACTORY_HH
2 #define INPUTEVENTFACTORY_HH
3 
4 #include <memory>
5 #include <string_view>
6 
7 namespace openmsx {
8 
9 class Event;
10 class TclObject;
11 class Interpreter;
12 
13 namespace InputEventFactory
14 {
15  using EventPtr = std::shared_ptr<const Event>;
16 
17  EventPtr createInputEvent(std::string_view str, Interpreter& interp);
18  EventPtr createInputEvent(const TclObject& str, Interpreter& interp);
19 }
20 
21 } // namespace openmsx
22 
23 #endif
openmsx::InputEventFactory::createInputEvent
EventPtr createInputEvent(const TclObject &str, Interpreter &interp)
Definition: InputEventFactory.cc:253
openmsx::InputEventFactory::EventPtr
std::shared_ptr< const Event > EventPtr
Definition: InputEventFactory.hh:15
openmsx::TclObject
Definition: TclObject.hh:22
openmsx::Interpreter
Definition: Interpreter.hh:17
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5