X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=2e47abde32cb17ff4a13f89e4d787e3470eda31a;hb=6d858ba423e643bf169115c854ec298e60b5ef1e;hp=7a306dddc82f37d4d26e8c68132af1c638f61e9a;hpb=f294b22f4c6b5757931576b7b8a1127f37e096b6;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 7a306dd..2e47abd 100644 --- a/include/cec.h +++ b/include/cec.h @@ -243,6 +243,25 @@ namespace CEC * @return True if the POLL was acked, false otherwise. */ virtual bool PollDevice(cec_logical_address iAddress) = 0; + + /*! + * @return The devices that are active on the bus and not handled by libcec. + */ + virtual cec_logical_addresses GetActiveDevices(void) = 0; + + /*! + * @brief Check whether a device is active on the bus. + * @param iAddress The address to check. + * @return True when active, false otherwise. + */ + virtual bool IsActiveDevice(cec_logical_address iAddress) = 0; + + /*! + * @brief Check whether a device of the given type is active on the bus. + * @param type The type to check. + * @return True when active, false otherwise. + */ + virtual bool IsActiveDeviceType(cec_device_type type) = 0; }; };