DummyPrinterPortDevice.cc 647 B

1234567891011121314151617181920212223242526272829303132333435
  1. #include "DummyPrinterPortDevice.hh"
  2. namespace openmsx {
  3. bool DummyPrinterPortDevice::getStatus(EmuTime::param /*time*/)
  4. {
  5. return true; // true = high = not ready
  6. }
  7. void DummyPrinterPortDevice::setStrobe(bool /*strobe*/, EmuTime::param /*time*/)
  8. {
  9. // ignore strobe
  10. }
  11. void DummyPrinterPortDevice::writeData(byte /*data*/, EmuTime::param /*time*/)
  12. {
  13. // ignore data
  14. }
  15. std::string_view DummyPrinterPortDevice::getDescription() const
  16. {
  17. return {};
  18. }
  19. void DummyPrinterPortDevice::plugHelper(
  20. Connector& /*connector*/, EmuTime::param /*time*/)
  21. {
  22. }
  23. void DummyPrinterPortDevice::unplugHelper(EmuTime::param /*time*/)
  24. {
  25. }
  26. } // namespace openmsx