DummyPrinterPortDevice.hh 566 B

12345678910111213141516171819202122
  1. #ifndef DUMMYPRINTERPORTDEVICE_HH
  2. #define DUMMYPRINTERPORTDEVICE_HH
  3. #include "PrinterPortDevice.hh"
  4. namespace openmsx {
  5. class DummyPrinterPortDevice final : public PrinterPortDevice
  6. {
  7. public:
  8. bool getStatus(EmuTime::param time) override;
  9. void setStrobe(bool strobe, EmuTime::param time) override;
  10. void writeData(byte data, EmuTime::param time) override;
  11. std::string_view getDescription() const override;
  12. void plugHelper(Connector& connector, EmuTime::param time) override;
  13. void unplugHelper(EmuTime::param time) override;
  14. };
  15. } // namespace openmsx
  16. #endif