X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecc.h;h=8c9bc932b82907edcf8936c6f45d31bde95bff6d;hb=01cf04394f94bc5095025858366c7a1153376149;hp=ddb141b714f02f577de6771786f984cbeeab11fb;hpb=5c73f7f744d83cb19d23d1a0f66597cdc3cfd5f3;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index ddb141b..8c9bc93 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(void *cbParam, CEC::ICECCallbacks *callbacks); +#else +extern DECLSPEC int cec_enable_callbacks(void *cbParam, ICECCallbacks *callbacks); +#endif + #ifdef __cplusplus extern DECLSPEC int8_t cec_find_adapters(CEC::cec_adapter *deviceList, uint8_t iBufSize, const char *strDevicePath); #else