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
qt_winrtbase_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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QT_WINRTBASE_P_H
6
#
define
QT_WINRTBASE_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtCore
/
qglobal
.
h
>
20
21
#
if
QT_CONFIG
(
cpp_winrt
)
22
#
include
<
guiddef
.
h
>
// required by clang-cl: https://github.com/microsoft/cppwinrt/issues/1179
23
#
include
<
winrt
/
base
.
h
>
24
#
include
<
QtCore
/
private
/
qfactorycacheregistration_p
.
h
>
25
// Workaround for Windows SDK bug.
26
// See https://github.com/microsoft/Windows.UI.Composition-Win32-Samples/issues/47
27
namespace
winrt::impl
28
{
29
template
<
typename
Async>
30
auto
wait_for(Async
const
& async, Windows::Foundation::TimeSpan
const
& timeout);
31
}
32
// See https://learn.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/faq#how-do-i-resolve-ambiguities-with-getcurrenttime-and-or-try-
33
// for more workarounds.
34
#
endif
// QT_CONFIG(cpp/winrt)
35
36
#
endif
// QT_WINRTBASE_P_H
qtbase
src
corelib
platform
windows
qt_winrtbase_p.h
Generated on
for Qt by
1.16.1