Implemented QtCamFlickerReduction
[harmattan/cameraplus] / lib / qtcamflickerreduction.h
1 // -*- c++ -*-
2
3 #ifndef QT_CAM_FLICKER_REDUCTION_H
4 #define QT_CAM_FLICKER_REDUCTION_H
5
6 #include "qtcamcapability.h"
7
8 class QtCamFlickerReduction : public QtCamCapability {
9   Q_OBJECT
10
11 public:
12   typedef enum {
13     Off = 0,
14     FiftyHz = 1,
15     SixtyHz = 2,
16     Auto = 3
17   } FlickerReductionMode;
18
19   QtCamFlickerReduction(QtCamDevice *dev, QObject *parent = 0);
20   ~QtCamFlickerReduction();
21
22   FlickerReductionMode value();
23   bool setValue(const FlickerReductionMode& mode);
24 };
25
26 #endif /* QT_CAM_FLICKER_REDUCTION_H */