X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecc.h;h=050271b6b98dea4bef9564800ab9905249088e93;hb=caca2d81263ae8fd7400298329a4a2e95bdb99e1;hp=a720e7f9733924bffd755ae1f0dfd499955a984a;hpb=610647374e568337e7d79b99c102dea370dde52c;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index a720e7f..050271b 100644 --- a/include/cecc.h +++ b/include/cecc.h @@ -41,9 +41,15 @@ extern "C" { #endif #ifdef __cplusplus -extern DECLSPEC int cec_init_typed(const char *strDeviceName, CEC::cec_device_type_list devicesTypes); +extern DECLSPEC int cec_initialise(CEC::libcec_configuration *configuration); #else -extern DECLSPEC int cec_init_typed(const char *strDeviceName, cec_device_type_list devicesTypes); +extern DECLSPEC int cec_initialise(libcec_configuration *configuration); +#endif + +#ifdef __cplusplus +extern DECLSPEC int cec_init_typed(const char *strDeviceName, CEC::cec_device_type_list deviceTypes); +#else +extern DECLSPEC int cec_init_typed(const char *strDeviceName, cec_device_type_list deviceTypes); #endif extern DECLSPEC void cec_destroy(void);