| 1 |
#ifndef DUMMYPRINTERPORTDEVICE_HH |
| 2 |
#define DUMMYPRINTERPORTDEVICE_HH |
| 3 |
|
| 4 |
#include "PrinterPortDevice.hh" |
| 5 |
|
| 6 |
namespace openmsx { |
| 7 |
|
| 8 |
class DummyPrinterPortDevice final : public PrinterPortDevice |
| 9 |
{ |
| 10 |
public: |
| 11 |
[[nodiscard]] bool getStatus(EmuTime time) override; |
| 12 |
void setStrobe(bool strobe, EmuTime time) override; |
| 13 |
void writeData(uint8_t data, EmuTime time) override; |
| 14 |
[[nodiscard]] zstring_view getDescription() const override; |
| 15 |
void plugHelper(Connector& connector, EmuTime time) override; |
| 16 |
void unplugHelper(EmuTime time) override; |
| 17 |
}; |
| 18 |
|
| 19 |
} |
| 20 |
|
| 21 |
#endif |