summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/crosshair.svg
AgeCommit message (Collapse)Author
2020-02-14qcam: assets: Provide initial icon setKieran Bingham
Provide simple clean icons from https://feathericons.com/ (https://github.com/feathericons/feather) These are provided under the MIT license. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
yright (C) 2019, Google Inc. * * event_loop.cpp - cam - Event loop */ #include <libcamera/event_dispatcher.h> #include "event_loop.h" using namespace libcamera; EventLoop::EventLoop(EventDispatcher *dispatcher) : dispatcher_(dispatcher) { } EventLoop::~EventLoop() { } int EventLoop::exec() { exitCode_ = -1; exit_.store(false, std::memory_order_release); while (!exit_.load(std::memory_order_acquire)) dispatcher_->processEvents(); return exitCode_; } void EventLoop::exit(int code) { exitCode_ = code; exit_.store(true, std::memory_order_release); dispatcher_->interrupt(); }