X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=ebfaf488f16d4b8d6e9bdcfa6b8764cf5c03888f;hb=bfea6e0a8ee4bc9e40c64ea68f22db69ac3cb26f;hp=b2f232fa07ab5560667154ace2f2d52e33bbc681;hpb=a9403e17f1fbb584aa28d493c967f94671d158b7;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index b2f232f..ebfaf48 100644 --- a/include/cec.h +++ b/include/cec.h @@ -453,9 +453,10 @@ namespace CEC * @param deviceList The vector to store device descriptors in. * @param iBufSize The size of the deviceList buffer. * @param strDevicePath Optional device path. Only adds device descriptors that match the given device path. + * @param bQuickScan True to do a "quick scan", which will not open a connection to the adapter. Firmware version information and the exact device type will be missing * @return The number of devices that were found, or -1 when an error occured. */ - virtual int8_t DetectAdapters(cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath = NULL) = 0; + virtual int8_t DetectAdapters(cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath = NULL, bool bQuickScan = false) = 0; }; };