X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FLibCEC.h;h=2dca04019fad0f05d6fa65a03b1bf40cee61ec34;hb=8f611d9d36fc638b357f3eb687e32013d820ec6b;hp=9241a2c3f8336ce602ee353367f4ca7f52eeb4e7;hpb=f99b4d1a21d99436a3e49733e7b83276a6362cbf;p=deb_libcec.git diff --git a/src/lib/LibCEC.h b/src/lib/LibCEC.h index 9241a2c..2dca040 100644 --- a/src/lib/LibCEC.h +++ b/src/lib/LibCEC.h @@ -121,6 +121,12 @@ namespace CEC const char *ToString(const cec_vendor_id vendor); const char *ToString(const cec_client_version version); const char *ToString(const cec_server_version version); + + static cec_device_type GetType(cec_logical_address address); + static uint16_t GetMaskForType(cec_logical_address address); + static uint16_t GetMaskForType(cec_device_type type); + + virtual bool GetDeviceInformation(const char *strPort, libcec_configuration *config, uint32_t iTimeoutMs = 10000); //@} static void AddLog(const cec_log_level level, const char *strFormat, ...);