From 011b3ff288826460b76c59a5899c92ecd8226643 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 5 Jul 2021 07:04:28 +0300 Subject: cam: Move event loop exit from CameraSession to CamApp Make exiting the event loop the responsibility of the application, not the camera session, to prepare for support of multiple camera sessions. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/cam/camera_session.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cam/camera_session.h') diff --git a/src/cam/camera_session.h b/src/cam/camera_session.h index 270ba3e9..2728d760 100644 --- a/src/cam/camera_session.h +++ b/src/cam/camera_session.h @@ -11,6 +11,8 @@ #include #include +#include + #include #include #include @@ -28,6 +30,8 @@ public: int run(const OptionsParser::Options &options); + libcamera::Signal<> captureDone; + private: int capture(libcamera::FrameBufferAllocator *allocator); -- cgit v1.2.1