Added an optional force parameter to Camera::stop()
[harmattan/cameraplus] / imports / camera.h
index fc7c666..2f072ba 100644 (file)
@@ -71,7 +71,7 @@ public:
   QtCamDevice *device() const;
 
   Q_INVOKABLE bool start();
-  Q_INVOKABLE bool stop();
+  Q_INVOKABLE bool stop(bool force = false);
 
   bool isIdle();
   bool isRunning();