if (device)
((CCECPlaybackDevice *)device)->SetDeckStatus(deckStatus);
}
+
+
+bool CSLCommandHandler::HandleGiveDevicePowerStatus(const cec_command &command)
+{
+ if (m_processor->IsRunning() && m_busDevice->MyLogicalAddressContains(command.destination))
+ {
+ CCECBusDevice *device = GetDevice(command.destination);
+ if (device && device->GetPowerStatus(false) != CEC_POWER_STATUS_ON)
+ return device->TransmitPowerState(command.initiator);
+ }
+
+ return false;
+}
virtual void TransmitVendorCommand05(const cec_logical_address iSource, const cec_logical_address iDestination);
virtual void SetDeckStatus(cec_deck_info deckStatus);
+ virtual bool HandleGiveDevicePowerStatus(const cec_command &command);
bool m_bSLEnabled;
bool m_bPowerStateReset;