openMSX
InputEventFactory.hh
Go to the documentation of this file.
1#ifndef INPUTEVENTFACTORY_HH
2#define INPUTEVENTFACTORY_HH
3
4#include <string_view>
5
6namespace openmsx {
7
8class Event;
9class TclObject;
10class Interpreter;
11
12namespace 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