X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FSLCommandHandler.h;h=a0ea25a329cb3d49bc9716212ce0f8983b26908b;hb=69a1a673f55d177a83f8c45f10c82787d6d763aa;hp=914083579f437f5a0bad49df2dc05c922c62e047;hpb=3faa971cecb5f713c611ba787b6b0a0486ecbd86;p=deb_libcec.git diff --git a/src/lib/implementations/SLCommandHandler.h b/src/lib/implementations/SLCommandHandler.h index 9140835..a0ea25a 100644 --- a/src/lib/implementations/SLCommandHandler.h +++ b/src/lib/implementations/SLCommandHandler.h @@ -65,10 +65,17 @@ namespace CEC 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; } + virtual bool PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination); + + virtual void ResetSLState(void); + virtual bool SLInitialised(void); + virtual void SetSLInitialised(void); + virtual bool ActiveSourceSent(void); bool m_bSLEnabled; - bool m_bPowerStateReset; bool m_bActiveSourceSent; PLATFORM::CTimeout m_resetPowerState; + PLATFORM::CMutex m_SLMutex; }; };