Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c
index caa86065d6..bc1a839c5a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c
@@ -1300,6 +1300,26 @@ JNIEXPORT jlong JNICALL WebKitGTK_NATIVE(_1webkit_1download_1get_1current_1size)
}
#endif
+#ifndef NO__1webkit_1download_1get_1network_1request
+JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1download_1get_1network_1request)
+ (JNIEnv *env, jclass that, jintLong arg0)
+{
+ jintLong rc = 0;
+ WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1get_1network_1request_FUNC);
+/*
+ rc = (jintLong)webkit_download_get_network_request(arg0);
+*/
+ {
+ WebKitGTK_LOAD_FUNCTION(fp, webkit_download_get_network_request)
+ if (fp) {
+ rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0);
+ }
+ }
+ WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1get_1network_1request_FUNC);
+ return rc;
+}
+#endif
+
#ifndef NO__1webkit_1download_1get_1status
JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1download_1get_1status)
(JNIEnv *env, jclass that, jintLong arg0)
@@ -1380,6 +1400,26 @@ JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1download_1get_1uri)
}
#endif
+#ifndef NO__1webkit_1download_1new
+JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1download_1new)
+ (JNIEnv *env, jclass that, jintLong arg0)
+{
+ jintLong rc = 0;
+ WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1new_FUNC);
+/*
+ rc = (jintLong)webkit_download_new(arg0);
+*/
+ {
+ WebKitGTK_LOAD_FUNCTION(fp, webkit_download_new)
+ if (fp) {
+ rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0);
+ }
+ }
+ WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1new_FUNC);
+ return rc;
+}
+#endif
+
#ifndef NO__1webkit_1download_1set_1destination_1uri
JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1download_1set_1destination_1uri)
(JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1)
@@ -1402,6 +1442,24 @@ fail:
}
#endif
+#ifndef NO__1webkit_1download_1start
+JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1download_1start)
+ (JNIEnv *env, jclass that, jintLong arg0)
+{
+ WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1start_FUNC);
+/*
+ webkit_download_start(arg0);
+*/
+ {
+ WebKitGTK_LOAD_FUNCTION(fp, webkit_download_start)
+ if (fp) {
+ ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0);
+ }
+ }
+ WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1start_FUNC);
+}
+#endif
+
#ifndef NO__1webkit_1get_1default_1session
JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1get_1default_1session)
(JNIEnv *env, jclass that)

Back to the top