populate post capture model when page is current and clear it when we leave
[harmattan/cameraplus] / lib / qtcamnotifications.h
index 395d004..e692e78 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
@@ -31,6 +31,8 @@ class QtCamDevice;
 class QtCamNotifications : public QObject {
   Q_OBJECT
 
+  friend class QtCamNotificationsPrivate;
+
 public:
   QtCamNotifications(QtCamDevice *dev, QObject *parent = 0);
   ~QtCamNotifications();
@@ -44,7 +46,11 @@ signals:
   void videoRecordingStarted();
   void videoRecordingEnded();
 
+  void autoFocusAcquired();
+
 private:
+  Q_PRIVATE_SLOT(d_ptr, void autoFocusStatusChanged(GstMessage *));
+
   QtCamNotificationsPrivate *d_ptr;
 };