// $Id: PrinterPortSimpl.hh 5785 2006-10-18 15:57:18Z m9710797 $ #ifndef PRINTERPORTSIMPLE_HH #define PRINTERPORTSIMPLE_HH #include "PrinterPortDevice.hh" #include namespace openmsx { class MSXMixer; class DACSound8U; class PrinterPortSimpl : public PrinterPortDevice { public: explicit PrinterPortSimpl(MSXMixer& mixer); // PrinterPortDevice virtual bool getStatus(const EmuTime& time); virtual void setStrobe(bool strobe, const EmuTime& time); virtual void writeData(byte data, const EmuTime& time); // Pluggable virtual const std::string& getName() const; virtual const std::string& getDescription() const; virtual void plugHelper(Connector& connector, const EmuTime& time); virtual void unplugHelper(const EmuTime& time); private: MSXMixer& mixer; std::auto_ptr dac; }; } // namespace openmsx #endif