Initial implementation
[harmattan/cameraplus] / lib / qtcammetadata.h
1 // -*- c++ -*-
2
3 #ifndef QT_CAM_META_DATA_H
4 #define QT_CAM_META_DATA_H
5
6 #include <QObject>
7
8 class QtCamMetaDataPrivate;
9 class QDateTime;
10 class QtCamDevice;
11
12 class QtCamMetaData : public QObject {
13   Q_OBJECT
14
15 public:
16
17   typedef enum {
18     Landscape = 0,
19     Portrait,
20     InvertedLandscape,
21     InvertedPortrait
22   } Orientation;
23
24   QtCamMetaData(QObject *parent = 0);
25   ~QtCamMetaData();
26
27   void setDevice(QtCamDevice *device);
28
29   void setManufacturer(const QString& manufacturer);
30   void setModel(const QString& model);
31   void setCountry(const QString& country);
32   void setCity(const QString& city);
33   void setSuburb(const QString& suburb);
34   void setLongitude(double longitude);
35   void setLatitude(double latitude);
36   void setElevation(double elevetion);
37   void setOrientation(Orientation orientation);
38   void setArtist(const QString& artist);
39   void setDateTime(const QDateTime& dateTime);
40   void setCaptureDirection(double direction);
41   void setHorizontalError(double error);
42
43   void reset();
44
45 private:
46   QtCamMetaDataPrivate *d_ptr;
47 };
48
49 #endif /* QT_CAM_META_DATA_H */