X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecc.h;h=c8e0d0e2d23805d9a2cb696588f1f8679cdf943f;hb=fa4798bd538f6114390884ad6f2f9c44c9f77e09;hp=ddb141b714f02f577de6771786f984cbeeab11fb;hpb=7b494bea6f0eefd2d10306492d5c191ab378e8a7;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index ddb141b..c8e0d0e 100644 --- a/include/cecc.h +++ b/include/cecc.h @@ -59,6 +59,12 @@ extern DECLSPEC int cec_open(const char *strPort, uint32_t iTimeout); extern DECLSPEC void cec_close(void); +#ifdef __cplusplus +extern DECLSPEC int cec_enable_callbacks(CEC::ICECCallbacks *callbacks); +#else +extern DECLSPEC int cec_enable_callbacks(ICECCallbacks *callbacks); +#endif + #ifdef __cplusplus extern DECLSPEC int8_t cec_find_adapters(CEC::cec_adapter *deviceList, uint8_t iBufSize, const char *strDevicePath); #else