Corrected video recording resolution for front camera
[harmattan/cameraplus] / src / filenaming.h
index 383efdc..d8183ac 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
@@ -44,8 +44,10 @@ public:
 
   Q_INVOKABLE QString imageFileName();
   Q_INVOKABLE QString videoFileName();
+  Q_INVOKABLE QString temporaryVideoFileName();
 
-  QString path() const;
+  QString path();
+  QString temporaryPath();
 
 signals:
   void imageSuffixChanged();
@@ -53,9 +55,15 @@ signals:
 
 private:
   QString fileName(const QString& suffix);
+  QString canonicalPath(const QString& path);
 
   QString m_image;
   QString m_video;
+  QString m_path;
+  QString m_temp;
+
+  QString m_date;
+  int m_index;
 };
 
 #endif /* FILE_NAMING_H */