Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qpipewire_cameraportalclient_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
QPIPEWIRE_CAMERAPORTALCLIENT_P_H
5
#
define
QPIPEWIRE_CAMERAPORTALCLIENT_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
/
qtmultimediaglobal_p
.
h
>
19
#
include
<
QtCore
/
private
/
qexpected_p
.
h
>
20
#
include
<
QtCore
/
qstring
.
h
>
21
22
#
include
<
chrono
>
23
24
QT_BEGIN_NAMESPACE
25
26
class
QDBusUnixFileDescriptor;
27
28
namespace
QtPipeWire
{
29
30
// Negotiates camera access through org.freedesktop.portal.Camera and returns
31
// the PipeWire remote file descriptor OpenPipeWireRemote() hands out, or an
32
// error if access was denied, the portal is not present, or 'timeout' elapsed
33
// first.
34
q23
::
expected
<
QDBusUnixFileDescriptor
,
QString
>
35
requestCameraPortalFd
(
std
::chrono::milliseconds timeout);
36
37
}
// namespace QtPipeWire
38
39
QT_END_NAMESPACE
40
41
#
endif
// QPIPEWIRE_CAMERAPORTALCLIENT_P_H
QtPipeWire
Definition
qpipewire_async_support.cpp:10
QtPipeWire::Q_STATIC_LOGGING_CATEGORY
Q_STATIC_LOGGING_CATEGORY(lcPipewireAudioSink, "qt.multimedia.pipewire.audiosink")
QtPipeWire::requestCameraPortalFd
q23::expected< QDBusUnixFileDescriptor, QString > requestCameraPortalFd(std::chrono::milliseconds timeout)
Definition
qpipewire_cameraportalclient.cpp:111
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
qtmultimedia
src
multimedia
pipewire
qpipewire_cameraportalclient_p.h
Generated on
for Qt by
1.18.0