OXYGENHUB
◆ main openmsx / src / events / InputEventFactory.hh
389 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
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
} // namespace openmsx
19
20
#endif