Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
jni.h
Go to the documentation of this file.
1// Copyright (C) 2021 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#pragma once
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17// Dummy declarations for generating docs on non-Android platforms
18#if !defined(Q_OS_ANDROID) && defined(Q_QDOC)
19typedef struct {} JNIEnv;
20typedef struct {} JNINativeMethod;
21struct _jclass;
22typedef _jclass* jclass;
23struct _jobject;
24typedef _jobject* jobject;
25typedef int jint;
26typedef int jmethodID;
27typedef int jfieldID;
28typedef void* JavaVM;
29#endif