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
qohosdrageventcshim.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
QOHOSDRAGEVENTCSHIM_H
5
#
define
QOHOSDRAGEVENTCSHIM_H
6
7
// Must precede the ArkUI header: older SDK versions use bool in C without including it.
8
#
include
<
stdbool
.
h
>
9
10
#
include
<
arkui
/
drag_and_drop
.
h
>
11
#
include
<
stdint
.
h
>
12
13
#
ifdef
__cplusplus
14
extern
"C"
{
15
#
endif
16
17
// Compiled as C: converting an integer outside an enum's C++ value range to the enum is UB (C++17 [expr.static.cast]/10);
18
// in C it is defined for every value the enum's compatible integer type represents (C11 6.7.2.2p4, 6.3.1.3p1).
19
int32_t
qOhosSetArkUiDragEventDragResult
(ArkUI_DragEvent *dragEvent, uint32_t dragResultValue);
20
21
#
ifdef
__cplusplus
22
}
23
#
endif
24
25
#
endif
qOhosSetArkUiDragEventDragResult
int32_t qOhosSetArkUiDragEventDragResult(ArkUI_DragEvent *dragEvent, uint32_t dragResultValue)
Definition
qohosdrageventcshim.c:10
qOhosSetArkUiDragEventDragResult
int32_t qOhosSetArkUiDragEventDragResult(ArkUI_DragEvent *dragEvent, uint32_t dragResultValue)
Definition
qohosdrageventcshim.c:10
qtbase
src
plugins
platforms
ohos
qarkui
qohosdrageventcshim.h
Generated on
for Qt by
1.18.0