X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FVLCommandHandler.h;h=8b26741fda621e0b8864a40796d8344780a4779e;hb=92eea1e751ae678059402e04688b3b94700b7013;hp=f2bfc7ec7a0a7c9ead58845636d206a81fb9acfe;hpb=42d28d15d07f893b491051970ade1bd56bb596eb;p=deb_libcec.git diff --git a/src/lib/implementations/VLCommandHandler.h b/src/lib/implementations/VLCommandHandler.h index f2bfc7e..8b26741 100644 --- a/src/lib/implementations/VLCommandHandler.h +++ b/src/lib/implementations/VLCommandHandler.h @@ -43,10 +43,11 @@ namespace CEC bool InitHandler(void); - bool HandleDeviceVendorCommandWithId(const cec_command &command); + int HandleDeviceVendorCommandWithId(const cec_command &command); bool TransmitActiveSource(const cec_logical_address iInitiator, uint16_t iPhysicalAddress); bool TransmitPendingActiveSourceCommands(void); + int HandleVendorCommand(const cec_command &command); bool PowerUpEventReceived(void); bool SupportsDeviceType(const cec_device_type type) const { return type != CEC_DEVICE_TYPE_RECORDING_DEVICE; }; cec_device_type GetReplacementDeviceType(const cec_device_type type) const { return type == CEC_DEVICE_TYPE_RECORDING_DEVICE ? CEC_DEVICE_TYPE_PLAYBACK_DEVICE : type; }