/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2019, Google Inc. * * event_loop.h - cam - Event loop */ #ifndef __CAM_EVENT_LOOP_H__ #define __CAM_EVENT_LOOP_H__ #include #include namespace libcamera { class EventDispatcher; } class EventLoop { public: EventLoop(libcamera::EventDispatcher *dispatcher); ~EventLoop(); int exec(); void exit(int code = 0); private: libcamera::EventDispatcher *dispatcher_; std::atomic exit_; int exitCode_; }; #endif /* __CAM_EVENT_LOOP_H__ */ src='/logo.png' alt='cgit logo'/> index : libcamera/vivid.git
libcamera pipeline handler for VIVIDgit repository hosting on libcamera.org
summaryrefslogtreecommitdiff
blob: de09d9db31f1130b262581d8f828eb106c1ef3bd (plain)
1
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-lock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>