summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/device_enumerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libcamera/internal/device_enumerator.h b/include/libcamera/internal/device_enumerator.h
index 25a36308..a9850400 100644
--- a/include/libcamera/internal/device_enumerator.h
+++ b/include/libcamera/internal/device_enumerator.h
@@ -13,6 +13,8 @@
#include <linux/media.h>
+#include <libcamera/signal.h>
+
namespace libcamera {
class MediaDevice;
@@ -43,6 +45,8 @@ public:
std::shared_ptr<MediaDevice> search(const DeviceMatch &dm);
+ Signal<> devicesAdded;
+
protected:
std::unique_ptr<MediaDevice> createDevice(const std::string &deviceNode);
void addDevice(std::unique_ptr<MediaDevice> &&media);