Hide focus reticle if we cannot focus while a particular scene mode is active
[harmattan/cameraplus] / lib / qtcamdevice.h
index 0fd92b7..692c401 100644 (file)
@@ -35,6 +35,7 @@ class QtCamMode;
 class QtCamGStreamerMessageListener;
 class QtCamMetaData;
 class QtCamCapability;
+class QtCamNotifications;
 
 class QtCamDevice : public QObject {
   Q_OBJECT
@@ -45,7 +46,7 @@ public:
 
   bool setViewfinder(QtCamViewfinder *viewfinder);
   bool start();
-  bool stop();
+  bool stop(bool force);
   bool isRunning();
   bool isIdle();
 
@@ -60,6 +61,8 @@ public:
   QtCamConfig *config() const;
   QtCamGStreamerMessageListener *listener() const;
 
+  QtCamNotifications *notifications() const;
+
 signals:
   void error(const QString& message, int code, const QString& debug);
   void started();
@@ -78,7 +81,8 @@ private:
   friend class QtCamMetaData;
   friend class QtCamCapability;
   friend class QtCamVideoTorch;
-  friend class QtCamMute;
+  friend class QtCamVideoMute;
+  friend class QtCamAutoFocusPrivate;
 
   QtCamDevicePrivate *d_ptr;
 };