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
qohosintegration_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
4#ifndef QOHOSINTEGRATION_P_H
5#define QOHOSINTEGRATION_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/qplatformmediaintegration_p.h>
19
20QT_BEGIN_NAMESPACE
21
22class QOhosIntegration : public QPlatformMediaIntegration
23{
24public:
25 QOhosIntegration();
26 ~QOhosIntegration() override;
27
28 q23::expected<QPlatformMediaPlayer *, QString> createPlayer(QMediaPlayer *player) override;
29 q23::expected<QPlatformVideoSink *, QString> createVideoSink(QVideoSink *sink) override;
30 q23::expected<QPlatformCamera *, QString> createCamera(QCamera *camera) override;
31 q23::expected<QPlatformImageCapture *, QString>
32 createImageCapture(QImageCapture *imageCapture) override;
33 q23::expected<QPlatformMediaRecorder *, QString>
34 createRecorder(QMediaRecorder *recorder) override;
35 q23::expected<QPlatformMediaCaptureSession *, QString> createCaptureSession() override;
36
37protected:
38 QPlatformMediaFormatInfo *createFormatInfo() override;
39 QPlatformVideoDevices *createVideoDevices() override;
40};
41
42QT_END_NAMESPACE
43
44#endif // QOHOSINTEGRATION_P_H
Combined button and popup list for selecting options.