OXYGENHUB
◆ main openmsx / src / serial / DummyRS232Device.hh
490 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef DUMMYRS232DEVICE_HH
2
#define DUMMYRS232DEVICE_HH
3
4
#include "RS232Device.hh"
5
6
namespace openmsx {
7
8
class DummyRS232Device final : public RS232Device
9
{
10
public:
11
	void signal(EmuTime time) override;
12
	[[nodiscard]] zstring_view getDescription() const override;
13
	void plugHelper(Connector& connector, EmuTime time) override;
14
	void unplugHelper(EmuTime time) override;
15
16
	// SerialDataInterface (part)
17
	void recvByte(uint8_t value, EmuTime time) override;
18
};
19
20
} // namespace openmsx
21
22
#endif