Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qplatformlibcameraintegration_p.h
Go to the documentation of this file.
1
// Copyright (C) 2026 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
#
ifndef
QPLATFORMLIBCAMERAINTEGRATION_P_H
4
#
define
QPLATFORMLIBCAMERAINTEGRATION_P_H
5
6
//
7
// W A R N I N G
8
// -------------
9
//
10
// This file is not part of the Qt API. It exists purely as an
11
// implementation detail. This header file may change from version to
12
// version without notice, or even be removed.
13
//
14
// We mean it.
15
//
16
17
#
include
<
QtMultimedia
/
qtmultimediaglobal
.
h
>
18
#
include
<
QtCore
/
private
/
qexpected_p
.
h
>
19
#
include
<
QtCore
/
qobject
.
h
>
20
#
include
<
QtCore
/
qstring
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
class
QCamera;
25
class
QPlatformCamera;
26
class
QPlatformMediaIntegration;
27
class
QPlatformVideoDevices;
28
29
namespace
QLibCamera
{
30
31
class
Q_MULTIMEDIA_EXPORT
QPlatformLibCameraIntegration
:
public
QObject
32
{
33
Q_OBJECT
34
public
:
35
explicit
QPlatformLibCameraIntegration
(
QObject
*
parent
=
nullptr
);
36
~
QPlatformLibCameraIntegration
()
override
;
37
38
virtual
QPlatformVideoDevices
*
createVideoDevices
(
QPlatformMediaIntegration
*
parent
) = 0;
39
virtual
q23
::
expected
<
QPlatformCamera
*,
QString
>
createCamera
(
QCamera
*) = 0;
40
};
41
42
Q_MULTIMEDIA_EXPORT
QPlatformLibCameraIntegration
*
libCameraIntegration
();
43
44
}
// namespace QLibCamera
45
46
QT_END_NAMESPACE
47
48
#
endif
// QPLATFORMLIBCAMERAINTEGRATION_P_H
QLibCamera::QPlatformLibCameraIntegration
Definition
qplatformlibcameraintegration_p.h:32
QLibCamera
Definition
qplatformlibcameraintegration.cpp:13
QLibCamera::libCameraIntegration
QPlatformLibCameraIntegration * libCameraIntegration()
Definition
qplatformlibcameraintegration.cpp:49
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtmultimedia
src
multimedia
platform
qplatformlibcameraintegration_p.h
Generated on
for Qt by
1.18.0