X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecc.h;h=1c9a987ac56d08f12e07ef287a7e7aa6b675a0fa;hb=6a69ddf2f8b32b7d66be1dffafa78fd2af219749;hp=43e79d836b0dc2ab22e9cf8a4c8f6d9f1416cb50;hpb=2492216a2285656be7a2b548eddd986fd8d6c2b3;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index 43e79d8..1c9a987 100644 --- a/include/cecc.h +++ b/include/cecc.h @@ -202,6 +202,19 @@ 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 + +extern DECLSPEC int cec_switch_monitoring(int bEnable); + #ifdef __cplusplus }; #endif