3 #ifndef QT_CAM_IMAGE_MODE_H
4 #define QT_CAM_IMAGE_MODE_H
7 #include <gst/pbutils/encoding-profile.h>
9 class QtCamDevicePrivate;
10 class QtCamImageModePrivate;
11 class QtCamImageSettings;
13 class QtCamImageMode : public QtCamMode {
17 QtCamImageMode(QtCamDevicePrivate *d, QObject *parent = 0);
20 virtual bool canCapture();
21 virtual void applySettings();
23 bool capture(const QString& fileName);
25 bool setSettings(const QtCamImageSettings& settings);
27 void setProfile(GstEncodingProfile *profile);
34 QtCamImageModePrivate *d_ptr;
37 #endif /* QT_CAM_IMAGE_MODE_H */