diff options
author | Christian Strømme <christian.stromme@digia.com> | 2014-08-06 17:24:52 +0200 |
---|---|---|
committer | Christian Stromme <christian.stromme@digia.com> | 2014-09-26 23:45:00 +0200 |
commit | afece6e49697983e7fd55647e1674504f7bc7235 (patch) | |
tree | 276528d684b484fb3b3e55feb141c9c252382c4b /src/corelib/kernel/qjni_p.h | |
parent | 8b0d9a16db7bcfb5d6439b8863aded5c583f9ed5 (diff) |
Android: Add findClass() function to the QJNIEnvironmentPrivate class.
The static QJNIEnvironmentPrivate::findClass() function exposes the
cache and the class finding code in qjni.
Change-Id: I42043dc993cf9cace042faf763f2a647ba79d97f
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'src/corelib/kernel/qjni_p.h')
-rw-r--r-- | src/corelib/kernel/qjni_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qjni_p.h b/src/corelib/kernel/qjni_p.h index 528872aa9b..19f2cf7601 100644 --- a/src/corelib/kernel/qjni_p.h +++ b/src/corelib/kernel/qjni_p.h @@ -58,6 +58,7 @@ public: ~QJNIEnvironmentPrivate(); JNIEnv *operator->(); operator JNIEnv*() const; + static jclass findClass(const char *className, JNIEnv *env = 0); private: friend class QAndroidJniEnvironment; |