X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FSLCommandHandler.h;h=e80219b5d42749975883a44ae8d5644b6e2b2e0a;hb=2abe628c575b2055e9ce236f662539663907833e;hp=48674cc995254a80410955ec0b910070c86d4982;hpb=468a141464d9b9a088df8abd35f5ebb138424155;p=deb_libcec.git diff --git a/src/lib/implementations/SLCommandHandler.h b/src/lib/implementations/SLCommandHandler.h index 48674cc..e80219b 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,15 +40,13 @@ namespace CEC public: CSLCommandHandler(CCECBusDevice *busDevice); virtual ~CSLCommandHandler(void) {}; - virtual cec_vendor_id GetVendorId(void) { return CEC_VENDOR_LG; }; - 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 HandleDeviceVendorId(const cec_command &command); virtual bool HandleGivePhysicalAddress(const cec_command &command); virtual bool HandleVendorCommand(const cec_command &command); @@ -61,10 +59,12 @@ namespace CEC virtual void HandleVendorCommandSLConnect(const cec_command &command); virtual void TransmitVendorCommand05(const cec_logical_address iSource, const cec_logical_address iDestination); - virtual void SetLGDeckStatus(void); + virtual bool HandleGiveDevicePowerStatus(const cec_command &command); + virtual bool HandleGiveDeckStatus(const cec_command &command); + virtual bool HandleRequestActiveSource(const cec_command &command); - bool m_bAwaitingReceiveFailed; bool m_bSLEnabled; bool m_bPowerStateReset; + bool m_bActiveSourceSent; }; };