Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcamera_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QCAMERA_P_H
5#define QCAMERA_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include "private/qobject_p.h"
19#include "qcamera.h"
20#include "qcameradevice.h"
21
23
24class QPlatformCamera;
25class QPlatformMediaCaptureSession;
26
28{
29 Q_DECLARE_PUBLIC(QCamera)
30public:
31 void init(const QCameraDevice &device);
32
33 QMediaCaptureSession *captureSession = nullptr;
34 QPlatformCamera *control = nullptr;
35
36 QCameraDevice cameraDevice;
38};
39
40QT_END_NAMESPACE
41
42#endif // QCAMERA_P_H
QCameraDevice cameraDevice
Definition qcamera_p.h:36
QMediaCaptureSession * captureSession
Definition qcamera_p.h:33
QPlatformCamera * control
Definition qcamera_p.h:34
QCameraFormat cameraFormat
Definition qcamera_p.h:37