Added resource policy support (Still needs more testing) and refactored the pipeline...
[harmattan/cameraplus] / imports / camera.h
index 4cf978f..a9507ff 100644 (file)
@@ -46,6 +46,7 @@ public:
   QtCamDevice *device() const;
 
   Q_INVOKABLE bool start();
+  Q_INVOKABLE bool stop();
 
   bool isIdle();
   bool isRunning();
@@ -53,9 +54,6 @@ public:
   QString imageSuffix() const;
   QString videoSuffix() const;
 
-public slots:
-  void stop();
-
 signals:
   void deviceCountChanged();
   void deviceIdChanged();