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
qharmonyappjscontext.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
QHARMONYAPPJSCONTEXT_H
5
#
define
QHARMONYAPPJSCONTEXT_H
6
7
#
include
<
QtCore
/
qharmonyjscontext
.
h
>
8
9
#
if
defined
(
Q_QDOC
)
||
defined
(
Q_OS_HARMONY
)
10
11
QT_BEGIN_NAMESPACE
12
13
class
Q_CORE_EXPORT QHarmonyAppJsContext :
public
QHarmonyJsContext
14
{
15
public
:
16
static
QHarmonyAppJsContext &fromEnv(napi_env env);
17
static
QHarmonyAppJsContext &fromJsContext(QHarmonyJsContext &jsContext);
18
19
napi_value defaultAbility();
20
21
private
:
22
QHarmonyAppJsContext();
23
~QHarmonyAppJsContext();
24
};
25
26
QT_END_NAMESPACE
27
28
#
endif
// Q_QDOC || Q_OS_HARMONY
29
30
#
endif
// QHARMONYAPPJSCONTEXT_H
QT_BEGIN_NAMESPACE::jsState
QOhosJsState & jsState()
Definition
qharmonyappjscontext.cpp:11
qtbase
src
corelib
platform
ohos
qharmonyappjscontext.h
Generated on
for Qt by
1.18.0