Added resource policy support (Still needs more testing) and refactored the pipeline...
[harmattan/cameraplus] / imports / camera.cpp
index cc27106..470afa2 100644 (file)
@@ -126,10 +126,12 @@ bool Camera::start() {
   return m_dev->start();
 }
 
-void Camera::stop() {
+bool Camera::stop() {
   if (m_dev) {
-    m_dev->stop();
+    return m_dev->stop();
   }
+
+  return true;
 }
 
 bool Camera::isIdle() {