philips: some models send a vendor key release after a normal key press. only the...
[deb_libcec.git] / src / lib / implementations / PHCommandHandler.h
index a40d7b58179d2abc2e1b1bd09c79015981d57703..cf61c66c40c0d4a0e955c97773a22600f7acab5e 100644 (file)
@@ -32,7 +32,7 @@
  */
 
 #include "CECCommandHandler.h"
-#include "platform/threads/threads.h"
+#include "lib/platform/threads/threads.h"
 
 namespace CEC
 {
@@ -69,8 +69,9 @@ namespace CEC
     virtual bool ActivateSource(bool bTransmitDelayedCommandsOnly = false);
     virtual int HandleUserControlPressed(const cec_command& command);
     virtual int HandleUserControlRelease(const cec_command& command);
-    virtual int HandleGiveDeviceVendorId(const cec_command& command);
+    virtual bool TransmitVendorID(const cec_logical_address iInitiator, const cec_logical_address iDestination, uint64_t iVendorId, bool bIsReply);
     virtual int HandleDeviceVendorId(const cec_command& command);
+    virtual int HandleVendorRemoteButtonUp(const cec_command & UNUSED(command)) { m_iLastKeyCode = CEC_USER_CONTROL_CODE_UNKNOWN; return COMMAND_HANDLED; }
     uint8_t            m_iLastKeyCode;
     CImageViewOnCheck* m_imageViewOnCheck;
   };