X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FCECCommandHandler.h;h=fca8a966fa6aca7a4809cce9c9fad9727bf863f8;hb=be3b6983b9b51528b3d2f379fccf7a0bfcca1f5d;hp=61f9f47d5e722f2d2edb68a3ffc23167469239fd;hpb=a8c39f8cb07622051f5091468efbcd980c833cff;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index 61f9f47..fca8a96 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -97,6 +97,7 @@ namespace CEC virtual bool SupportsDeviceType(const cec_device_type UNUSED(type)) const { return true; }; virtual cec_device_type GetReplacementDeviceType(const cec_device_type type) const { return type; } + virtual bool ActiveSourcePending(void) const { return m_iActiveSourcePending != 0; } protected: virtual int HandleActiveSource(const cec_command &command);