openMSX
Y8950KeyboardDevice.hh
Go to the documentation of this file.
1#ifndef Y8950KEYBOARDDEVICE_HH
2#define Y8950KEYBOARDDEVICE_HH
3
4#include "Pluggable.hh"
5#include "openmsx.hh"
6
7namespace openmsx {
8
10{
11public:
19 virtual void write(byte data, EmuTime::param time) = 0;
20
28 [[nodiscard]] virtual byte read(EmuTime::param time) = 0;
29
30 // pluggable
31 [[nodiscard]] std::string_view getClass() const final;
32};
33
34} // namespace openmsx
35
36#endif
virtual void write(byte data, EmuTime::param time)=0
Send data to the device.
virtual byte read(EmuTime::param time)=0
Read data from the device.
std::string_view getClass() const final
A pluggable belongs to a certain class.
This file implemented 3 utility functions:
Definition Autofire.cc:9