cec: added callback methods to libCEC. enable them by calling EnableCallbacks(ICECCal...
[deb_libcec.git] / include / cecc.h
index ddb141b714f02f577de6771786f984cbeeab11fb..c8e0d0e2d23805d9a2cb696588f1f8679cdf943f 100644 (file)
@@ -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