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
qcominitializer_p.h
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
4
//
5
// W A R N I N G
6
// -------------
7
//
8
// This file is not part of the Qt API. It exists for the convenience
9
// of other Qt classes. 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
QCOMREGISTRY_P_H
16
#
define
QCOMREGISTRY_P_H
17
18
#
include
<
QtMultimedia
/
qtmultimediaexports
.
h
>
19
#
include
<
QtCore
/
qtconfigmacros
.
h
>
20
21
QT_BEGIN_NAMESPACE
22
23
Q_MULTIMEDIA_EXPORT
void
ensureComInitializedOnThisThread
();
24
25
struct
QComInitializer
26
{
27
QComInitializer
()
28
{
29
ensureComInitializedOnThisThread
(
)
;
30
}
31
};
32
33
34
QT_END_NAMESPACE
35
36
#
endif
// QCOMREGISTRY_P_H
QT_BEGIN_NAMESPACE::s_comHelperRegistry
thread_local std::unique_ptr< QComHelper > s_comHelperRegistry
Definition
qcominitializer.cpp:14
ensureComInitializedOnThisThread
void ensureComInitializedOnThisThread()
Definition
qcominitializer.cpp:23
QComInitializer
Definition
qcominitializer_p.h:26
QComInitializer::QComInitializer
QComInitializer()
Definition
qcominitializer_p.h:27
qtmultimedia
src
multimedia
windows
qcominitializer_p.h
Generated on
for Qt by
1.14.0