cec: add a void* parameter to the callback methods, that can be set when enabling...
[deb_libcec.git] / include / cecc.h
index c8e0d0e2d23805d9a2cb696588f1f8679cdf943f..8c9bc932b82907edcf8936c6f45d31bde95bff6d 100644 (file)
@@ -60,9 +60,9 @@ 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);
+extern DECLSPEC int cec_enable_callbacks(void *cbParam, CEC::ICECCallbacks *callbacks);
 #else
-extern DECLSPEC int cec_enable_callbacks(ICECCallbacks *callbacks);
+extern DECLSPEC int cec_enable_callbacks(void *cbParam, ICECCallbacks *callbacks);
 #endif
 
 #ifdef __cplusplus