From: Kai Sommerfeld Date: Sat, 21 Jun 2014 21:25:12 +0000 (+0200) Subject: Fixed CCECCommandHandler::HasSpecificHandler implementation to include vendor TOSHIBA... X-Git-Tag: upstream/2.2.0~1^2~1^2~3^2~10^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=dcadafee7839696e2f2d54ec5f7e49bd4e261dcb;p=deb_libcec.git Fixed CCECCommandHandler::HasSpecificHandler implementation to include vendor TOSHIBA, TOSHIBA2, ONKYO. --- diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index aeace02..e94851e 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -58,7 +58,7 @@ namespace CEC virtual bool HandleCommand(const cec_command &command); virtual cec_vendor_id GetVendorId(void) { return m_vendorId; }; virtual void SetVendorId(cec_vendor_id vendorId) { m_vendorId = vendorId; } - static bool HasSpecificHandler(cec_vendor_id vendorId) { return vendorId == CEC_VENDOR_LG || vendorId == CEC_VENDOR_SAMSUNG || vendorId == CEC_VENDOR_PANASONIC || vendorId == CEC_VENDOR_PHILIPS || vendorId == CEC_VENDOR_SHARP;} + static bool HasSpecificHandler(cec_vendor_id vendorId) { return vendorId == CEC_VENDOR_LG || vendorId == CEC_VENDOR_SAMSUNG || vendorId == CEC_VENDOR_PANASONIC || vendorId == CEC_VENDOR_PHILIPS || vendorId == CEC_VENDOR_SHARP || vendorId == CEC_VENDOR_TOSHIBA || vendorId == CEC_VENDOR_TOSHIBA2 || vendorId == CEC_VENDOR_ONKYO;} virtual bool InitHandler(void) { return true; } virtual bool ActivateSource(bool bTransmitDelayedCommandsOnly = false);