X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=src%2Flib%2Fimplementations%2FSLCommandHandler.h;h=eaa21f16e9d04567effe44c3e6d81b2e9e514e43;hb=6581031ae0bd36fcd4e666083115344c286b1e62;hp=55f1beaeee6f960680ff13755b5a990a44eb4185;hpb=50e2792889c9cd53093f23dcce5b56c5530245f9;p=deb_libcec.git diff --git a/src/lib/implementations/SLCommandHandler.h b/src/lib/implementations/SLCommandHandler.h index 55f1bea..eaa21f1 100644 --- a/src/lib/implementations/SLCommandHandler.h +++ b/src/lib/implementations/SLCommandHandler.h @@ -32,6 +32,7 @@ */ #include "CECCommandHandler.h" +#include "../platform/util/timeutils.h" namespace CEC { @@ -47,7 +48,6 @@ namespace CEC protected: virtual bool HandleActiveSource(const cec_command &command); virtual bool HandleDeviceVendorId(const cec_command &command); - virtual bool HandleFeatureAbort(const cec_command &command); virtual bool HandleGivePhysicalAddress(const cec_command &command); virtual bool HandleVendorCommand(const cec_command &command); @@ -58,11 +58,18 @@ namespace CEC virtual void HandleVendorCommandPowerOnStatus(const cec_command &command); virtual void HandleVendorCommandSLConnect(const cec_command &command); - virtual void TransmitVendorCommand05(const cec_logical_address iSource, const cec_logical_address iDestination); + virtual void TransmitVendorCommandSetDeviceMode(const cec_logical_address iSource, const cec_logical_address iDestination, const cec_device_type type); - virtual void SetDeckStatus(cec_deck_info deckStatus); + virtual bool HandleGiveDevicePowerStatus(const cec_command &command); + virtual bool HandleGiveDeckStatus(const cec_command &command); + virtual bool HandleRequestActiveSource(const cec_command &command); + virtual bool HandleFeatureAbort(const cec_command &command); + virtual bool HandleStandby(const cec_command &command); + virtual bool TransmitMenuState(const cec_logical_address UNUSED(iInitiator), const cec_logical_address UNUSED(iDestination), cec_menu_state UNUSED(menuState)) { return true; } - bool m_bSLEnabled; - bool m_bPowerStateReset; + bool m_bSLEnabled; + bool m_bPowerStateReset; + bool m_bActiveSourceSent; + PLATFORM::CTimeout m_resetPowerState; }; };