X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FSLCommandHandler.h;h=9ce444b7acc385f877b6de862e6b172a5d445dcf;hb=3befc9811e59359c014c33c1276f869d5b59ac09;hp=8c6902db41f42f824c26110e405fd6a008e69ea6;hpb=04283ce44fc45cbfb145075d02ff116e277f7560;p=deb_libcec.git diff --git a/src/lib/implementations/SLCommandHandler.h b/src/lib/implementations/SLCommandHandler.h index 8c6902d..9ce444b 100644 --- a/src/lib/implementations/SLCommandHandler.h +++ b/src/lib/implementations/SLCommandHandler.h @@ -2,7 +2,7 @@ /* * This file is part of the libCEC(R) library. * - * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved. + * libCEC(R) is Copyright (C) 2011-2013 Pulse-Eight Limited. All rights reserved. * libCEC(R) is an original work, containing original code. * * libCEC(R) is a trademark of Pulse-Eight Limited. @@ -32,7 +32,6 @@ */ #include "CECCommandHandler.h" -#include "../platform/util/timeutils.h" namespace CEC { @@ -67,7 +66,7 @@ namespace CEC int HandleRequestActiveSource(const cec_command &command); int HandleFeatureAbort(const cec_command &command); int HandleStandby(const cec_command &command); - bool TransmitMenuState(const cec_logical_address UNUSED(iInitiator), const cec_logical_address UNUSED(iDestination), cec_menu_state UNUSED(menuState)) { return true; } + bool TransmitMenuState(const cec_logical_address UNUSED(iInitiator), const cec_logical_address UNUSED(iDestination), cec_menu_state UNUSED(menuState), bool UNUSED(bIsReply)) { return true; } bool PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination); void ResetSLState(void); @@ -75,6 +74,8 @@ namespace CEC void SetSLInitialised(void); bool ActiveSourceSent(void); + void VendorPreActivateSourceHook(void); + bool m_bSLEnabled; bool m_bActiveSourceSent; PLATFORM::CTimeout m_resetPowerState;