X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FCECProcessor.h;h=39f1a2efc362b753db1aeb0f26902e300ec56f0c;hb=a75a882fccb18fcf74d8df3a9306eb78cfeca619;hp=2bebc5c05a27d4b5e245082aa6be0ee3c35ca1a2;hpb=9dee1670cb5167360026a910a33de46e811a8588;p=deb_libcec.git diff --git a/src/lib/CECProcessor.h b/src/lib/CECProcessor.h index 2bebc5c..39f1a2e 100644 --- a/src/lib/CECProcessor.h +++ b/src/lib/CECProcessor.h @@ -32,8 +32,7 @@ */ #include -#include "../../include/CECExports.h" -#include "../../include/CECTypes.h" +#include #include "platform/threads.h" #include "util/buffer.h" @@ -59,6 +58,9 @@ namespace CEC virtual bool SetInactiveView(void); virtual bool Transmit(const cec_command &data, bool bWaitForAck = true); virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress); + + static const char *CECVendorIdToString(const uint64_t iVendorId); + protected: virtual bool TransmitFormatted(const cec_adapter_message &data, bool bWaitForAck = true); virtual void TransmitAbort(cec_logical_address address, cec_opcode opcode, ECecAbortReason reason = CEC_ABORT_REASON_UNRECOGNIZED_OPCODE);