Renamed QtCamWb to QtCamWhiteBalance
[harmattan/cameraplus] / lib / qtcamera.h
1 // -*- c++ -*-
2
3 #ifndef QT_CAMERA_H
4 #define QT_CAMERA_H
5
6 #include <QObject>
7 #include <QPair>
8 #include <QVariant>
9
10 class QtCamConfig;
11 class QtCameraPrivate;
12 class QtCamDevice;
13
14 class QtCamera : public QObject {
15   Q_OBJECT
16
17 public:
18   QtCamera(QObject *parent = 0);
19   QtCamera(const QString& configPath, QObject *parent = 0);
20   QtCamera(QtCamConfig *config, QObject *parent = 0);
21
22   ~QtCamera();
23
24   void refreshDevices();
25
26   QList<QPair<QString, QVariant> > devices() const;
27
28   QtCamDevice *device(const QVariant& id, QObject *parent = 0);
29
30   QtCamConfig *config() const;
31
32 private:
33   QtCameraPrivate *d_ptr;
34 };
35
36 #endif /* QT_CAMERA_H */