X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecc.h;h=8a06956223177874ab30e6663a4104bb17a25818;hb=57f45e6c93ae094071e8a2f3f3786d4f26265a1d;hp=e1c2942d877ef9b2d678270ebd2066daf4dc8295;hpb=e6e63f5d844124caa7bb47f2ac96e9cbc66ee1fc;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index e1c2942..8a06956 100644 --- a/include/cecc.h +++ b/include/cecc.h @@ -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