Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwasmvideosink_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
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13//
14
15#ifndef QWASMVIDEOSINK_H
16#define QWASMVIDEOSINK_H
17
18#include <private/qplatformvideosink_p.h>
19
21
22class QVideoSink;
23class QRhi;
24
26{
28
29public:
30 explicit QWasmVideoSink(QVideoSink *parent = 0);
31
32 void setRhi(QRhi *) override;
33
34private:
35 QRhi *m_rhi = nullptr;
36};
37
39
40#endif // QWASMVIDEOSINK_H
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
Definition qrhi.h:1804
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
void setRhi(QRhi *) override
QWasmVideoSink(QVideoSink *parent=0)
Combined button and popup list for selecting options.
#define Q_OBJECT