// $Id: KeyClick.hh 5785 2006-10-18 15:57:18Z m9710797 $ #ifndef KEYCLICK_HH #define KEYCLICK_HH #include "noncopyable.hh" #include namespace openmsx { class MSXMixer; class XMLElement; class EmuTime; class DACSound8U; class KeyClick : private noncopyable { public: KeyClick(MSXMixer& mixer, const XMLElement& config, const EmuTime& time); virtual ~KeyClick(); void reset(const EmuTime& time); void setClick(bool status, const EmuTime& time); private: const std::auto_ptr dac; bool status; }; } // namespace openmsx #endif