X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FLibCEC.h;h=46973711bed2269cadba69e9c678515cfe973ea3;hb=a75e3a5a63546d6f7e670bc2a7a1931887a5d2a0;hp=b8c8667d67ab9bd8b50d4b374d4e8243af53e823;hpb=209b7a5c7a749d4bed7b463c3356918cc00d2704;p=deb_libcec.git diff --git a/src/lib/LibCEC.h b/src/lib/LibCEC.h index b8c8667..4697371 100644 --- a/src/lib/LibCEC.h +++ b/src/lib/LibCEC.h @@ -121,10 +121,13 @@ 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); + const char *ToString(const cec_device_type type); 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, ...);