X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=include%2Fcecc.h;h=8a06956223177874ab30e6663a4104bb17a25818;hb=57f45e6c93ae094071e8a2f3f3786d4f26265a1d;hp=8ca688c3f2efd951474bc4927a254c11ed712977;hpb=eafd9beda6b5e5aafaccd7a0e3de65c632d494e0;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index 8ca688c..8a06956 100644 --- a/include/cecc.h +++ b/include/cecc.h @@ -98,12 +98,12 @@ extern DECLSPEC int cec_start_bootloader(void); /*! * @return Get the minimal version of libcec that this version of libcec can interface with. */ -extern DECLSPEC int8_t cec_get_min_version(void); +extern DECLSPEC int8_t cec_get_min_lib_version(void); /*! - * @return Get the version of libcec. + * @return Get the major version of libcec. */ -extern DECLSPEC int8_t cec_get_lib_version(void); +extern DECLSPEC int8_t cec_get_lib_version_major(void); /*! * @return Get the minor version of libcec. @@ -271,6 +271,17 @@ extern DECLSPEC CEC::cec_power_status cec_get_device_power_status(CEC::cec_logic extern DECLSPEC cec_power_status cec_get_device_power_status(cec_logical_address iLogicalAddress); #endif +/*! + * @brief Sends a POLL message to a device. + * @param iAddress The device to send the message to. + * @return True if the POLL was acked, false otherwise. + */ +#ifdef __cplusplus +extern DECLSPEC int cec_poll_device(CEC::cec_logical_address iLogicalAddress); +#else +extern DECLSPEC int cec_poll_device(cec_logical_address iLogicalAddress); +#endif + #ifdef __cplusplus }; #endif