Added reset button to exposure settings
[harmattan/cameraplus] / lib / qtcamimagemode.h
index 5a87cb1..47d51c1 100644 (file)
@@ -3,7 +3,7 @@
 /*!
  * This file is part of CameraPlus.
  *
- * Copyright (C) 2012 Mohammed Sameer <msameer@foolab.org>
+ * Copyright (C) 2012-2013 Mohammed Sameer <msameer@foolab.org>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -28,6 +28,7 @@
 
 class QtCamDevicePrivate;
 class QtCamImageModePrivate;
+class QtCamImageResolution;
 class QtCamImageSettings;
 
 class QtCamImageMode : public QtCamMode {
@@ -42,10 +43,18 @@ public:
 
   bool capture(const QString& fileName);
 
-  bool setSettings(const QtCamImageSettings& settings);
+  bool setResolution(const QtCamImageResolution& resolution);
+
+  QtCamImageResolution currentResolution();
 
   void setProfile(GstEncodingProfile *profile);
 
+  QtCamImageSettings *settings() const;
+
+signals:
+  void captureStarted();
+  void captureEnded();
+
 protected:
   virtual void start();
   virtual void stop();