uvccameraviewfindersettingscontrol.h 665 Bytes
Newer Older
Thiago Santini's avatar
Thiago Santini committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#ifndef UVCCAMERAVIEWFINDERSETTINGSCONTROL_H
#define UVCCAMERAVIEWFINDERSETTINGSCONTROL_H

#include <qcameraviewfindersettingscontrol.h>

QT_BEGIN_NAMESPACE

class UVCCameraSession;

class UVCCameraViewfinderSettingsControl : public QCameraViewfinderSettingsControl2
{
public:
    UVCCameraViewfinderSettingsControl(UVCCameraSession *session);

    QList<QCameraViewfinderSettings> supportedViewfinderSettings() const;

    QCameraViewfinderSettings viewfinderSettings() const;
    void setViewfinderSettings(const QCameraViewfinderSettings &settings);

private:
    UVCCameraSession *m_session;
};

QT_END_NAMESPACE

#endif // UVCCAMERAVIEWFINDERSETTINGSCONTROL_H