Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qplatformvideodevices_p.h
Go to the documentation of this file.
1
// Copyright (C) 2022 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 QPLATFORMVIDEODEVICES_H
4
#define QPLATFORMVIDEODEVICES_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 <private/qtmultimediaglobal_p.h>
18
#include <
qmediarecorder.h
>
19
#include <
qobject.h
>
20
21
QT_BEGIN_NAMESPACE
22
23
class
QPlatformMediaIntegration
;
24
25
class
Q_MULTIMEDIA_EXPORT
QPlatformVideoDevices
:
public
QObject
26
{
27
Q_OBJECT
28
public
:
29
QPlatformVideoDevices
(
QPlatformMediaIntegration
*integration)
30
: m_integration(integration)
31
{}
32
33
~QPlatformVideoDevices
()
override
;
34
35
virtual
QList<QCameraDevice>
videoDevices
()
const
= 0;
36
37
Q_SIGNALS
:
38
void
videoInputsChanged
();
39
40
protected
:
41
QPlatformMediaIntegration
*m_integration =
nullptr
;
42
};
43
44
QT_END_NAMESPACE
45
46
#endif
QList
Definition
qlist.h:74
QObject
\inmodule QtCore
Definition
qobject.h:90
QPlatformMediaIntegration
Definition
qplatformmediaintegration_p.h:56
QPlatformVideoDevices
Definition
qplatformvideodevices_p.h:26
QPlatformVideoDevices::videoDevices
virtual QList< QCameraDevice > videoDevices() const =0
QPlatformVideoDevices::~QPlatformVideoDevices
~QPlatformVideoDevices() override
QPlatformVideoDevices::videoInputsChanged
void videoInputsChanged()
QPlatformVideoDevices::QPlatformVideoDevices
QPlatformVideoDevices(QPlatformMediaIntegration *integration)
Definition
qplatformvideodevices_p.h:29
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
qmediarecorder.h
qobject.h
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:117
Q_SIGNALS
#define Q_SIGNALS
Definition
qtmetamacros.h:45
qtmultimedia
src
multimedia
platform
qplatformvideodevices_p.h
Generated by
1.9.7