Hi,
Before adding new features to the cam utility there is a need to clean
up some of the organic growth that has happened.
This series breaks out the capture logic to a new class and reduces the
mess in main.cpp.
Niklas Söderlund (2):
cam: capture: Break out capture to a new class
cam: Add CamApp class
src/cam/capture.cpp | 244 +++++++++++++++++++++++++++
src/cam/capture.h | 42 +++++
src/cam/main.cpp | 391 ++++++++++++--------------------------------
src/cam/main.h | 19 +++
src/cam/meson.build | 1 +
5 files changed, 414 insertions(+), 283 deletions(-)
create mode 100644 src/cam/capture.cpp
create mode 100644 src/cam/capture.h
create mode 100644 src/cam/main.h