cec: fixed possible segfault when switching the command handler after a vendor id...
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.h
index 4d9a02163c9f25a4849fef8b99f315df965d16ed..8fb9446f8bfac6f1c7050b52537c056270f52cb1 100644 (file)
@@ -36,6 +36,7 @@
 
 namespace CEC
 {
+  class CCECProcessor;
   class CCECBusDevice;
 
   class CCECCommandHandler
@@ -89,6 +90,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;
   };
 };