X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=20e103b87806b966e403b22e7d06381c2f2b4592;hb=f80cd2082cb6b36e56e00d42c0f2fc104565f7e5;hp=0332088906e72a0a5c254ec42b023251aa02e00e;hpb=e69d8f191784c77c156ffec90db50767f91421e3;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 0332088..20e103b 100644 --- a/include/cec.h +++ b/include/cec.h @@ -424,6 +424,15 @@ namespace CEC * @return true when libCEC is the active source on the bus, false otherwise. */ virtual bool IsLibCECActiveSource(void) = 0; + + /*! + * @brief Get information about the given device + * @param strPort The port to which the device is connected + * @param config The device configuration + * @param iTimeoutMs The timeout in milliseconds + * @return True when the device was found, false otherwise + */ + virtual bool GetDeviceInformation(const char *strPort, libcec_configuration *config, uint32_t iTimeoutMs = 10000) = 0; }; };