From 71ef5532d9777e9511bc982cab33e3d2d95cf4be Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 23 Jan 2019 10:17:21 +0200 Subject: cam: Add event loop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a simple event loop to the cam application and use it in the main() function, with an example of how to handle SIGINT to gracefully stop the loop. Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund --- src/cam/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cam/meson.build') diff --git a/src/cam/meson.build b/src/cam/meson.build index e45e5391..cc647523 100644 --- a/src/cam/meson.build +++ b/src/cam/meson.build @@ -1,4 +1,5 @@ cam_sources = files([ + 'event_loop.cpp', 'main.cpp', 'options.cpp', ]) -- cgit v1.2.1