aboutsummaryrefslogtreecommitdiffstats
path: root/src/androidextras/jni/qjnienvironment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/androidextras/jni/qjnienvironment.cpp')
-rw-r--r--src/androidextras/jni/qjnienvironment.cpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/androidextras/jni/qjnienvironment.cpp b/src/androidextras/jni/qjnienvironment.cpp
index f21d763..e27e5ce 100644
--- a/src/androidextras/jni/qjnienvironment.cpp
+++ b/src/androidextras/jni/qjnienvironment.cpp
@@ -46,6 +46,46 @@
QT_BEGIN_NAMESPACE
+/*!
+ \class QJNIEnvironment
+ \inmodule QtAndroidExtras
+ \brief The QJNIEnvironment provides access to the JNI Environment.
+ \since 5.2
+*/
+
+/*!
+ \fn QJNIEnvironment::QJNIEnvironment()
+
+ Constructs a new QJNIEnvironment object and attach the current thread to the Java VM.
+
+ \snippet code/src_androidextras_qjnienvironment.cpp Create QJNIEnvironment
+*/
+
+/*!
+ \fn QJNIEnvironment::~QJNIEnvironment()
+
+ Detaches the current thread from the Java VM and destroys the QJNIEnvironment object.
+*/
+
+/*!
+ \fn JavaVM *QJNIEnvironment::javaVM()
+
+ Returns the Java VM interface.
+*/
+
+/*!
+ \fn JNIEnv *QJNIEnvironment::operator->()
+
+ Provides access to the QJNIEnvironment's JNIEnv pointer.
+*/
+
+/*!
+ \fn QJNIEnvironment::operator JNIEnv *() const
+
+ Returns the the JNI Environment pointer.
+ */
+
+
QJNIEnvironment::QJNIEnvironment()
: d(new QJNIEnvironmentPrivate)
{