2013-02-07 14:37:06 +00:00
|
|
|
/* WARNING - This file is autogenerated by mobile/android/base/jni-generator.py. Do not edit manually! */
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_nativeInit_t)(JNIEnv *, jclass);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_nativeInit_t f_Java_org_mozilla_gecko_GeckoAppShell_nativeInit;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_nativeInit(JNIEnv * arg0, jclass arg1) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_nativeInit) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_nativeInit(arg0, arg1);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_nativeInit", &f_Java_org_mozilla_gecko_GeckoAppShell_nativeInit);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_setLayerClient_t)(JNIEnv *, jclass, jobject);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_setLayerClient_t f_Java_org_mozilla_gecko_GeckoAppShell_setLayerClient;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_setLayerClient(JNIEnv * arg0, jclass arg1, jobject arg2) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_setLayerClient) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_setLayerClient(arg0, arg1, arg2);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_setLayerClient", &f_Java_org_mozilla_gecko_GeckoAppShell_setLayerClient);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_onResume_t)(JNIEnv *, jclass);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_onResume_t f_Java_org_mozilla_gecko_GeckoAppShell_onResume;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_onResume(JNIEnv * arg0, jclass arg1) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_onResume) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_onResume(arg0, arg1);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_onResume", &f_Java_org_mozilla_gecko_GeckoAppShell_onResume);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_onLowMemory_t)(JNIEnv *, jclass);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_onLowMemory_t f_Java_org_mozilla_gecko_GeckoAppShell_onLowMemory;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_onLowMemory(JNIEnv * arg0, jclass arg1) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_onLowMemory) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_onLowMemory(arg0, arg1);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_onLowMemory", &f_Java_org_mozilla_gecko_GeckoAppShell_onLowMemory);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_callObserver_t)(JNIEnv *, jclass, jstring, jstring, jstring);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_callObserver_t f_Java_org_mozilla_gecko_GeckoAppShell_callObserver;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_callObserver(JNIEnv * arg0, jclass arg1, jstring arg2, jstring arg3, jstring arg4) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_callObserver) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_callObserver(arg0, arg1, arg2, arg3, arg4);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_callObserver", &f_Java_org_mozilla_gecko_GeckoAppShell_callObserver);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_removeObserver_t)(JNIEnv *, jclass, jstring);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_removeObserver_t f_Java_org_mozilla_gecko_GeckoAppShell_removeObserver;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_removeObserver(JNIEnv * arg0, jclass arg1, jstring arg2) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_removeObserver) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_removeObserver(arg0, arg1, arg2);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_removeObserver", &f_Java_org_mozilla_gecko_GeckoAppShell_removeObserver);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_onChangeNetworkLinkStatus_t)(JNIEnv *, jclass, jstring);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_onChangeNetworkLinkStatus_t f_Java_org_mozilla_gecko_GeckoAppShell_onChangeNetworkLinkStatus;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_onChangeNetworkLinkStatus(JNIEnv * arg0, jclass arg1, jstring arg2) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_onChangeNetworkLinkStatus) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_onChangeNetworkLinkStatus(arg0, arg1, arg2);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_onChangeNetworkLinkStatus", &f_Java_org_mozilla_gecko_GeckoAppShell_onChangeNetworkLinkStatus);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef jobject (*Java_org_mozilla_gecko_GeckoAppShell_getNextMessageFromQueue_t)(JNIEnv *, jclass, jobject);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_getNextMessageFromQueue_t f_Java_org_mozilla_gecko_GeckoAppShell_getNextMessageFromQueue;
|
|
|
|
extern "C" NS_EXPORT jobject JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_getNextMessageFromQueue(JNIEnv * arg0, jclass arg1, jobject arg2) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_getNextMessageFromQueue) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return NULL;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
return f_Java_org_mozilla_gecko_GeckoAppShell_getNextMessageFromQueue(arg0, arg1, arg2);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_getNextMessageFromQueue", &f_Java_org_mozilla_gecko_GeckoAppShell_getNextMessageFromQueue);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable_t)(JNIEnv *, jclass, jobject, jint);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable_t f_Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable(JNIEnv * arg0, jclass arg1, jobject arg2, jint arg3) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable(arg0, arg1, arg2, arg3);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable", &f_Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash_t)(JNIEnv *, jclass, jstring);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash_t f_Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash(JNIEnv * arg0, jclass arg1, jstring arg2) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash(arg0, arg1, arg2);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash", &f_Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_processNextNativeEvent_t)(JNIEnv *, jclass);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_processNextNativeEvent_t f_Java_org_mozilla_gecko_GeckoAppShell_processNextNativeEvent;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_processNextNativeEvent(JNIEnv * arg0, jclass arg1) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_processNextNativeEvent) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_processNextNativeEvent(arg0, arg1);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_processNextNativeEvent", &f_Java_org_mozilla_gecko_GeckoAppShell_processNextNativeEvent);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_notifyBatteryChange_t)(JNIEnv *, jclass, jdouble, jboolean, jdouble);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_notifyBatteryChange_t f_Java_org_mozilla_gecko_GeckoAppShell_notifyBatteryChange;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_notifyBatteryChange(JNIEnv * arg0, jclass arg1, jdouble arg2, jboolean arg3, jdouble arg4) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_notifyBatteryChange) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_notifyBatteryChange(arg0, arg1, arg2, arg3, arg4);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_notifyBatteryChange", &f_Java_org_mozilla_gecko_GeckoAppShell_notifyBatteryChange);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_scheduleComposite_t)(JNIEnv *, jclass);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_scheduleComposite_t f_Java_org_mozilla_gecko_GeckoAppShell_scheduleComposite;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_scheduleComposite(JNIEnv * arg0, jclass arg1) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_scheduleComposite) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_scheduleComposite(arg0, arg1);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_scheduleComposite", &f_Java_org_mozilla_gecko_GeckoAppShell_scheduleComposite);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_scheduleResumeComposition_t)(JNIEnv *, jclass, jint, jint);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_scheduleResumeComposition_t f_Java_org_mozilla_gecko_GeckoAppShell_scheduleResumeComposition;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_scheduleResumeComposition(JNIEnv * arg0, jclass arg1, jint arg2, jint arg3) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_scheduleResumeComposition) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_scheduleResumeComposition(arg0, arg1, arg2, arg3);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_scheduleResumeComposition", &f_Java_org_mozilla_gecko_GeckoAppShell_scheduleResumeComposition);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef jfloat (*Java_org_mozilla_gecko_GeckoAppShell_computeRenderIntegrity_t)(JNIEnv *, jclass);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_computeRenderIntegrity_t f_Java_org_mozilla_gecko_GeckoAppShell_computeRenderIntegrity;
|
|
|
|
extern "C" NS_EXPORT jfloat JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_computeRenderIntegrity(JNIEnv * arg0, jclass arg1) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_computeRenderIntegrity) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return 0;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
return f_Java_org_mozilla_gecko_GeckoAppShell_computeRenderIntegrity(arg0, arg1);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_computeRenderIntegrity", &f_Java_org_mozilla_gecko_GeckoAppShell_computeRenderIntegrity);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef jobject (*Java_org_mozilla_gecko_GeckoAppShell_getSurfaceBits_t)(JNIEnv *, jclass, jobject);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_getSurfaceBits_t f_Java_org_mozilla_gecko_GeckoAppShell_getSurfaceBits;
|
|
|
|
extern "C" NS_EXPORT jobject JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_getSurfaceBits(JNIEnv * arg0, jclass arg1, jobject arg2) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_getSurfaceBits) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return NULL;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
return f_Java_org_mozilla_gecko_GeckoAppShell_getSurfaceBits(arg0, arg1, arg2);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_getSurfaceBits", &f_Java_org_mozilla_gecko_GeckoAppShell_getSurfaceBits);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_onFullScreenPluginHidden_t)(JNIEnv *, jclass, jobject);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_onFullScreenPluginHidden_t f_Java_org_mozilla_gecko_GeckoAppShell_onFullScreenPluginHidden;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_onFullScreenPluginHidden(JNIEnv * arg0, jclass arg1, jobject arg2) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_onFullScreenPluginHidden) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_onFullScreenPluginHidden(arg0, arg1, arg2);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_onFullScreenPluginHidden", &f_Java_org_mozilla_gecko_GeckoAppShell_onFullScreenPluginHidden);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_notifyGeckoOfEvent_t)(JNIEnv *, jclass, jobject);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_notifyGeckoOfEvent_t f_Java_org_mozilla_gecko_GeckoAppShell_notifyGeckoOfEvent;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_notifyGeckoOfEvent(JNIEnv * arg0, jclass arg1, jobject arg2) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_notifyGeckoOfEvent) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_notifyGeckoOfEvent(arg0, arg1, arg2);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_notifyGeckoOfEvent", &f_Java_org_mozilla_gecko_GeckoAppShell_notifyGeckoOfEvent);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_cameraCallbackBridge_t)(JNIEnv *, jclass, jbyteArray);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_cameraCallbackBridge_t f_Java_org_mozilla_gecko_GeckoAppShell_cameraCallbackBridge;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_cameraCallbackBridge(JNIEnv * arg0, jclass arg1, jbyteArray arg2) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_cameraCallbackBridge) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_cameraCallbackBridge(arg0, arg1, arg2);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_cameraCallbackBridge", &f_Java_org_mozilla_gecko_GeckoAppShell_cameraCallbackBridge);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_notifyFilePickerResult_t)(JNIEnv *, jclass, jstring, jlong);
|
|
|
|
static Java_org_mozilla_gecko_GeckoAppShell_notifyFilePickerResult_t f_Java_org_mozilla_gecko_GeckoAppShell_notifyFilePickerResult;
|
|
|
|
extern "C" NS_EXPORT void JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoAppShell_notifyFilePickerResult(JNIEnv * arg0, jclass arg1, jstring arg2, jlong arg3) {
|
2013-02-07 15:17:27 +00:00
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoAppShell_notifyFilePickerResult) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return ;
|
|
|
|
}
|
2013-02-07 14:37:06 +00:00
|
|
|
f_Java_org_mozilla_gecko_GeckoAppShell_notifyFilePickerResult(arg0, arg1, arg2, arg3);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_notifyFilePickerResult", &f_Java_org_mozilla_gecko_GeckoAppShell_notifyFilePickerResult);
|
|
|
|
#endif
|
|
|
|
|
2013-04-23 17:10:29 +00:00
|
|
|
#ifdef JNI_STUBS
|
|
|
|
|
|
|
|
typedef jdouble (*Java_org_mozilla_gecko_GeckoJavaSampler_getProfilerTime_t)(JNIEnv *, jclass);
|
|
|
|
static Java_org_mozilla_gecko_GeckoJavaSampler_getProfilerTime_t f_Java_org_mozilla_gecko_GeckoJavaSampler_getProfilerTime;
|
|
|
|
extern "C" NS_EXPORT jdouble JNICALL
|
|
|
|
Java_org_mozilla_gecko_GeckoJavaSampler_getProfilerTime(JNIEnv * arg0, jclass arg1) {
|
|
|
|
if (!f_Java_org_mozilla_gecko_GeckoJavaSampler_getProfilerTime) {
|
|
|
|
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
|
|
|
"JNI Function called before it was loaded");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
return f_Java_org_mozilla_gecko_GeckoJavaSampler_getProfilerTime(arg0, arg1);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef JNI_BINDINGS
|
|
|
|
xul_dlsym("Java_org_mozilla_gecko_GeckoJavaSampler_getProfilerTime", &f_Java_org_mozilla_gecko_GeckoJavaSampler_getProfilerTime);
|
|
|
|
#endif
|
|
|
|
|