X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=9e09902fe01aa1e676dcec72f1687846f7c395eb;hb=547b390d1c90e922b7c2191393ba12ec388750ca;hp=0e463eb91fb4a88359f0a3b723dcc90681b81ac6;hpb=761ccce0c3c48da744dfa01f62097ebf54d01f52;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 0e463eb..9e09902 100644 --- a/include/cec.h +++ b/include/cec.h @@ -60,10 +60,11 @@ namespace CEC /*! * @brief Set and enable the callback methods. If this method is not called, the GetNext...() methods will have to be used. + * @param cbParam Parameter to pass to callback methods. * @param callbacks The callbacks to set. * @return True when enabled, false otherwise. */ - virtual bool EnableCallbacks(ICECCallbacks *callbacks) = 0; + virtual bool EnableCallbacks(void *cbParam, ICECCallbacks *callbacks) = 0; /*! * @brief Try to find all connected CEC adapters. Only implemented on Linux and Windows at the moment.