df70d9ef23bcb0176d45cbda112191d5671c0dc2
[harmattan/cameraplus] / lib / qtcammute.h
1 // -*- c++ -*-
2
3 #ifndef QT_CAM_MUTE_H
4 #define QT_CAM_MUTE_H
5
6 #include <QObject>
7
8 class QtCamDevice;
9 class QtCamMutePrivate;
10
11 class QtCamMute : public QObject {
12   Q_OBJECT
13
14 public:
15   QtCamMute(QtCamDevice *dev, QObject *parent = 0);
16   ~QtCamMute();
17
18   void setEnabled(bool enabled);
19   bool isEnabled() const;
20
21 signals:
22   void stateChanged();
23
24 private:
25   QtCamMutePrivate *d_ptr;
26 };
27
28 #endif /* QT_CAM_MUTE_H */