X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecc.h;h=0aca0b7683a811efe671e72293656a4c77c529fc;hb=b1bd94283cef75676b987f30d61f26fad09c19c3;hp=074a348383b05d1815ff070a38cd524be15c489b;hpb=97ffee06080535a5507d8fbb3c8941bccc51ae13;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index 074a348..0aca0b7 100644 --- a/include/cecc.h +++ b/include/cecc.h @@ -2,7 +2,7 @@ /* * This file is part of the libCEC(R) library. * - * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved. + * libCEC(R) is Copyright (C) 2011-2013 Pulse-Eight Limited. All rights reserved. * libCEC(R) is an original work, containing original code. * * libCEC(R) is a trademark of Pulse-Eight Limited. @@ -284,6 +284,12 @@ extern DECLSPEC uint8_t cec_audio_unmute(void); extern DECLSPEC uint8_t cec_audio_get_status(void); +#ifdef __cplusplus +extern DECLSPEC int8_t cec_detect_adapters(CEC::cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath, int bQuickScan); +#else +extern DECLSPEC int8_t cec_detect_adapters(cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath, int bQuickScan); +#endif + #ifdef __cplusplus }; #endif