X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FPHCommandHandler.h;h=f6f3fcc8fcbb2623716bafc1f75fdd02a5f4904f;hb=b53bfc2d959e562ee603cc7d74298d1a42fba57e;hp=a40d7b58179d2abc2e1b1bd09c79015981d57703;hpb=ebcedb051be7d8e1e19ecd3f0aa164baae252400;p=deb_libcec.git diff --git a/src/lib/implementations/PHCommandHandler.h b/src/lib/implementations/PHCommandHandler.h index a40d7b5..f6f3fcc 100644 --- a/src/lib/implementations/PHCommandHandler.h +++ b/src/lib/implementations/PHCommandHandler.h @@ -2,7 +2,7 @@ /* * This file is part of the libCEC(R) library. * - * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved. + * libCEC(R) is Copyright (C) 2011-2013 Pulse-Eight Limited. All rights reserved. * libCEC(R) is an original work, containing original code. * * libCEC(R) is a trademark of Pulse-Eight Limited. @@ -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 & command) { return HandleUserControlRelease(command); } uint8_t m_iLastKeyCode; CImageViewOnCheck* m_imageViewOnCheck; };