X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FSLCommandHandler.h;h=4095b0e700a62262ddebf94d9415c7692b071c43;hb=4478bc797f871f631399ab8008d3b2787ded07c2;hp=e5edac52116f57376d897157ce88c147666c3289;hpb=1b5cc4a2517ee8e6cebb44063ea03eb4128b4ab1;p=deb_libcec.git diff --git a/src/lib/implementations/SLCommandHandler.h b/src/lib/implementations/SLCommandHandler.h index e5edac5..4095b0e 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 Pulse-Eight Limited. All rights reserved. + * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved. * libCEC(R) is an original work, containing original code. * * libCEC(R) is a trademark of Pulse-Eight Limited. @@ -40,5 +40,32 @@ namespace CEC public: CSLCommandHandler(CCECBusDevice *busDevice); virtual ~CSLCommandHandler(void) {}; + + virtual void HandlePoll(const cec_logical_address iInitiator, const cec_logical_address iDestination); + virtual bool HandleReceiveFailed(void); + + virtual bool InitHandler(void); + virtual bool ActivateSource(void); + + protected: + virtual bool HandleActiveSource(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); + + virtual void HandleVendorCommand01(const cec_command &command); + virtual void TransmitVendorCommand0205(const cec_logical_address iSource, const cec_logical_address iDestination); + + virtual void HandleVendorCommandPowerOn(const cec_command &command); + 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 SetLGDeckStatus(void); + + bool m_bAwaitingReceiveFailed; + bool m_bSLEnabled; + bool m_bPowerStateReset; }; };