Android: Add QAndroidJniXxx as friend classes in qjni.
The JNI classes in Qt Android Extras are changing name from QJNIXxx to QAndroidJniXxx and they need to be friends of the private JNI classes in core. Change-Id: Ib5e1729f4bbba876b7d3eba5742fe750f95c48f7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
85fc94db1b
commit
c5b2553fc2
@ -68,7 +68,7 @@ public:
|
||||
operator JNIEnv*() const;
|
||||
|
||||
private:
|
||||
friend class QJNIEnvironment;
|
||||
friend class QAndroidJniEnvironment;
|
||||
Q_DISABLE_COPY(QJNIEnvironmentPrivate)
|
||||
JNIEnv *jniEnv;
|
||||
};
|
||||
@ -187,7 +187,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
friend class QJNIObject;
|
||||
friend class QAndroidJniObject;
|
||||
|
||||
QJNIObjectPrivate(const char *className, const char *sig, va_list args);
|
||||
QJNIObjectPrivate(jclass clazz, const char *sig, va_list args);
|
||||
|
Loading…
Reference in New Issue
Block a user