From 977cfbd526f2da1cfce5c5c2b187c83af3d3efdc Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Thu, 2 May 2019 16:50:49 -0400 Subject: libcamera: device_enumerator: add DeviceEnumeratorSysfs class A udev-based device enumerator is not sufficient, since libudev is an optional dependency, or udev might fail. In these cases, we should fall back to using sysfs to enumerate devices. Add a DeviceEnumeratorSysfs class which is a specialization of DeviceEnumerator that uses sysfs to enumerate media devices on the system. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- Documentation/Doxyfile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/Doxyfile.in b/Documentation/Doxyfile.in index 950ad4fe..381f7771 100644 --- a/Documentation/Doxyfile.in +++ b/Documentation/Doxyfile.in @@ -833,7 +833,9 @@ RECURSIVE = YES # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = ../src/libcamera/device_enumerator_udev.cpp \ +EXCLUDE = ../src/libcamera/device_enumerator_sysfs.cpp \ + ../src/libcamera/device_enumerator_udev.cpp \ + ../src/libcamera/include/device_enumerator_sysfs.h \ ../src/libcamera/include/device_enumerator_udev.h \ ../src/libcamera/pipeline/ -- cgit v1.2.1