Don't reuse file names
[harmattan/cameraplus] / lib / qtcamimagemode.h
index 480147b..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
@@ -45,10 +45,16 @@ public:
 
   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();