a25ab83bc92533b45ad8d4939d8fa1ba8ba854af
[harmattan/cameraplus] / lib / qtcamvideosettings.h
1 // -*- c++ -*-
2
3 #ifndef QT_CAM_VIDEO_SETTINGS_H
4 #define QT_CAM_VIDEO_SETTINGS_H
5
6 #include <QSize>
7 #include <QPair>
8 #include <QString>
9
10 class QtCamVideoSettingsPrivate;
11
12 class QtCamVideoSettings {
13 public:
14   QtCamVideoSettings(const QString& id, const QString& name,
15                      const QSize& capture, const QSize& preview,
16                      int numerator, int denominator);
17
18   QtCamVideoSettings(const QtCamVideoSettings& other);
19
20   ~QtCamVideoSettings();
21
22   QtCamVideoSettings& operator=(const QtCamVideoSettings& other);
23
24   QString id() const;
25   QString name() const;
26   QSize captureResolution() const;
27   QSize previewResolution() const;
28   QPair<int, int> frameRate() const;
29
30 private:
31   QtCamVideoSettingsPrivate *d_ptr;
32 };
33
34 #endif /* QT_CAM_VIDEO_SETTINGS_H */