summaryrefslogtreecommitdiff
path: root/src/qcam/cam_select_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/cam_select_dialog.h')
-rw-r--r--src/qcam/cam_select_dialog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qcam/cam_select_dialog.h b/src/qcam/cam_select_dialog.h
index bce258b2..44b081a5 100644
--- a/src/qcam/cam_select_dialog.h
+++ b/src/qcam/cam_select_dialog.h
@@ -13,6 +13,7 @@
#include <libcamera/camera_manager.h>
#include <QDialog>
+#include <QString>
class QComboBox;
@@ -26,6 +27,10 @@ public:
std::string getCameraId();
+ /* Hotplug / Unplug Support. */
+ void addCamera(QString cameraId);
+ void removeCamera(QString cameraId);
+
private:
libcamera::CameraManager *cm_;