X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecc.h;h=c319c196da7ab33bcda88d576f4867a12d8ab0a8;hb=1969b1409b16be8b82f89e87d94daf527f9d5969;hp=43e79d836b0dc2ab22e9cf8a4c8f6d9f1416cb50;hpb=56b36fa651f960f501b588b1d5fe069298d980a1;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index 43e79d8..c319c19 100644 --- a/include/cecc.h +++ b/include/cecc.h @@ -202,6 +202,17 @@ extern DECLSPEC int cec_set_logical_address(cec_logical_address myAddress, cec_l */ extern DECLSPEC int cec_set_physical_address(uint16_t iPhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS); +/*! + * @brief Display a message on the TV. + * @brief The message to display. + * @return True when the command was sent, false otherwise. + */ +#ifdef __cplusplus +extern DECLSPEC int cec_set_osd_string(CEC::cec_logical_address iLogicalAddress, CEC::cec_display_control duration, const char *strMessage); +#else +extern DECLSPEC int cec_set_osd_string(cec_logical_address iLogicalAddress, cec_display_control duration, const char *strMessage); +#endif + #ifdef __cplusplus }; #endif