fixed - reset CVLCommandHandler::m_bCapabilitiesSent when the TV goes to standby
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.h
index 45e352200e316662879f388d9d51dcf743c0beaf..fca8a966fa6aca7a4809cce9c9fad9727bf863f8 100644 (file)
@@ -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);
@@ -138,6 +139,8 @@ namespace CEC
     virtual int HandleVendorRemoteButtonUp(const cec_command & UNUSED(command)) { return CEC_ABORT_REASON_REFUSED; }
     virtual void UnhandledCommand(const cec_command &command, const cec_abort_reason reason);
 
+    virtual void VendorPreActivateSourceHook(void) {};
+
     virtual size_t GetMyDevices(std::vector<CCECBusDevice *> &devices) const;
     virtual CCECBusDevice *GetDevice(cec_logical_address iLogicalAddress) const;
     virtual CCECBusDevice *GetDeviceByPhysicalAddress(uint16_t iPhysicalAddress) const;