X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FSLCommandHandler.h;h=9d3ba013bf27669a193b181a41f41d34ec3e9ba1;hb=11d13a028204b3ead4019292845e160a0edd5c52;hp=e5edac52116f57376d897157ce88c147666c3289;hpb=1b5cc4a2517ee8e6cebb44063ea03eb4128b4ab1;p=deb_libcec.git diff --git a/src/lib/implementations/SLCommandHandler.h b/src/lib/implementations/SLCommandHandler.h index e5edac5..9d3ba01 100644 --- a/src/lib/implementations/SLCommandHandler.h +++ b/src/lib/implementations/SLCommandHandler.h @@ -40,5 +40,18 @@ namespace CEC public: CSLCommandHandler(CCECBusDevice *busDevice); virtual ~CSLCommandHandler(void) {}; + virtual cec_vendor_id GetVendorId(void) { return CEC_VENDOR_LG; }; + + virtual bool HandleCommand(const cec_command &command); + virtual void HandlePoll(const cec_logical_address iInitiator, const cec_logical_address iDestination); + virtual bool HandleReceiveFailed(void); + virtual bool InitHandler(void); + virtual bool TransmitLGVendorId(const cec_logical_address iInitiator, const cec_logical_address iDestination); + + protected: + virtual bool HandleGiveDeviceVendorId(const cec_command &command); + virtual bool HandleVendorCommand(const cec_command &command); + + bool m_bAwaitingReceiveFailed; }; };