// $Id: LedEvent.cc 5954 2006-12-22 08:10:58Z mthuurne $ #include "LedEvent.hh" #include "MSXMotherBoard.hh" namespace openmsx { LedEvent::LedEvent(Led led_, bool status_, MSXMotherBoard& motherBoard) : Event(OPENMSX_LED_EVENT) , led(led_) , status(status_) { machine = motherBoard.getMachineID(); } LedEvent::Led LedEvent::getLed() const { return led; } bool LedEvent::getStatus() const { return status; } const std::string& LedEvent::getMachine() const { return machine; } } // namespace openmsx