X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FCECCommandHandler.h;h=3a9bd6f1a3370bcc367bb611183cc2d6f9f691b2;hb=42d28d15d07f893b491051970ade1bd56bb596eb;hp=6e0121fdee49886dc4b3db09b47465d8175aa9e6;hpb=b0015449e4448934bbac6326d2e599d6be54d654;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index 6e0121f..3a9bd6f 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -163,6 +163,8 @@ namespace CEC virtual void SignalOpcode(cec_opcode opcode); virtual bool ActiveSourcePending(void); + virtual bool SupportsDeviceType(const cec_device_type UNUSED(type)) const { return true; }; + cec_device_type GetReplacementDeviceType(const cec_device_type type) const { return type; } protected: virtual bool HandleActiveSource(const cec_command &command);