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
qpipewire_screencapture.cpp
Go to the documentation of this file.
1// Copyright (C) 2024 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
6
7#include <utility>
8
9QT_BEGIN_NAMESPACE
10
11namespace QtPipeWire {
12
18
20
22{
23 if (m_helper)
24 return m_helper->frameFormat();
25
26 return QVideoFrameFormat();
27}
28
30{
31 if (!m_helper)
33
34 if (m_helper)
36
37 return static_cast<bool>(m_helper) == active;
38}
39
40} // namespace QtPipeWire
41
42QT_END_NAMESPACE