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
qv4l2cameradevices_p.h
Go to the documentation of this file.
1// Copyright (C) 2023 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 QV4L2CAMERADEVICES_P_H
5#define QV4L2CAMERADEVICES_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 <QtMultimedia/private/qplatformvideodevices_p.h>
19#include <QtMultimedia/private/qplatformmediaintegration_p.h>
20#include <QtCore/qfilesystemwatcher.h>
21
22QT_BEGIN_NAMESPACE
23
24namespace QtV4L2 {
25
26class Q_MULTIMEDIA_EXPORT QV4L2CameraDevices : public QPlatformVideoDevices
27{
29public:
31
32public Q_SLOTS:
33 void checkCameras();
34
35protected:
37
38private:
39 bool doCheckCameras();
40
41private:
44};
45
46} // namespace QtV4L2
47
48QT_END_NAMESPACE
49
50#endif // QV4L2CAMERADEVICES_P_H
Q_STATIC_LOGGING_CATEGORY(qLcV4L2Camera, "qt.multimedia.v4l2.camera")
static bool areCamerasEqual(QSpan< const QCameraDevice > a, QSpan< const QCameraDevice > b)