cec: send deck status 0x20 when an LG tv is found, so keypresses will be routed to...
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.h
index 4d9a02163c9f25a4849fef8b99f315df965d16ed..383a38613b036311951ad744fc6062f0a9980c6b 100644 (file)
@@ -36,6 +36,7 @@
 
 namespace CEC
 {
+  class CCECProcessor;
   class CCECBusDevice;
 
   class CCECCommandHandler
@@ -46,6 +47,10 @@ namespace CEC
 
     virtual bool HandleCommand(const cec_command &command);
     virtual cec_vendor_id GetVendorId(void) { return CEC_VENDOR_UNKNOWN; };
+    virtual void HandlePoll(const cec_logical_address iInitiator, const cec_logical_address iDestination);
+    virtual bool HandleReceiveFailed(void);
+
+    virtual bool InitHandler(void) { return true; }
 
   protected:
     virtual bool HandleActiveSource(const cec_command &command);
@@ -89,6 +94,7 @@ namespace CEC
     virtual void SetVendorId(const cec_command &command);
     virtual void SetPhysicalAddress(cec_logical_address iAddress, uint16_t iNewAddress);
 
+    CCECProcessor *m_processor;
     CCECBusDevice *m_busDevice;
   };
 };