X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FCECCommandHandler.h;h=3a9bd6f1a3370bcc367bb611183cc2d6f9f691b2;hb=42d28d15d07f893b491051970ade1bd56bb596eb;hp=1bced84ff8fc469b17a004aa70891233913a1f78;hpb=004b83822a351e1fb6e982a9183a12a430b0b769;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index 1bced84..3a9bd6f 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -162,6 +162,10 @@ 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); virtual bool HandleDeckControl(const cec_command &command); @@ -218,5 +222,7 @@ namespace CEC bool m_bOPTSendDeckStatusUpdateOnActiveSource; cec_vendor_id m_vendorId; CWaitForResponse *m_waitForResponse; + bool m_bActiveSourcePending; + PLATFORM::CMutex m_mutex; }; };