summaryrefslogtreecommitdiff
path: root/src/qcam/main_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r--src/qcam/main_window.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h
index b45cbca7..6873155a 100644
--- a/src/qcam/main_window.h
+++ b/src/qcam/main_window.h
@@ -16,6 +16,7 @@
#include <QTimer>
#include <libcamera/camera.h>
+#include <libcamera/camera_manager.h>
#include <libcamera/stream.h>
#include "../cam/options.h"
@@ -35,14 +36,14 @@ class MainWindow : public QMainWindow
Q_OBJECT
public:
- MainWindow(const OptionsParser::Options &options);
+ MainWindow(CameraManager *cm, const OptionsParser::Options &options);
~MainWindow();
private Q_SLOTS:
void updateTitle();
private:
- int openCamera();
+ int openCamera(CameraManager *cm);
int startCapture();
void stopCapture();