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:
Christian Strømme 2013-10-08 17:43:21 +02:00 committed by The Qt Project
parent 85fc94db1b
commit c5b2553fc2

View File

@ -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);