cec: send deck status 0x20 when an LG tv is found, so keypresses will be routed to...
[deb_libcec.git] / src / lib / implementations / SLCommandHandler.h
index e5edac52116f57376d897157ce88c147666c3289..9d3ba013bf27669a193b181a41f41d34ec3e9ba1 100644 (file)
@@ -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;
   };
 };