cec: added GetActiveSource()/cec_get_active_source() and IsActiveSource()/cec_is_acti...
[deb_libcec.git] / src / lib / devices / CECBusDevice.h
index 80576b4b003b81a8c416653d0ff47e20d5fda89d..14f3302952b6cdefcd85a10e943ab2786af6cc21 100644 (file)
@@ -72,6 +72,8 @@ namespace CEC
     virtual const char *          GetVendorName(bool bUpdate = false);
     virtual bool                  MyLogicalAddressContains(cec_logical_address address) const;
     virtual cec_bus_device_status GetStatus(bool bForcePoll = false);
+    virtual bool                  IsActiveSource(void) const { return m_bActiveSource; }
+
 
     virtual void SetInactiveDevice(void);
     virtual void SetActiveDevice(void);