cec: fix power on of LG devices
[deb_libcec.git] / src / lib / implementations / SLCommandHandler.h
index 76a99701c0db91386a3492bb6bb2283b34e72e5b..d020a14d632d15c88149f40f939edcc2b3617215 100644 (file)
@@ -41,5 +41,21 @@ namespace CEC
     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);
+    virtual bool TransmitPowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination);
+
+  protected:
+    virtual void TransmitDeckStatus(const cec_logical_address iDestination);
+    virtual bool HandleGiveDeviceVendorId(const cec_command &command);
+    virtual bool HandleVendorCommand(const cec_command &command);
+
+    bool    m_bAwaitingReceiveFailed;
+    bool    m_bSLEnabled;
+    bool    m_bSkipNextVendorId;
   };
 };