diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-08-10 01:03:00 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-08-10 08:56:12 +0200 |
commit | 710df2483187bea72ef6d28f64498101adbc99e6 (patch) | |
tree | fceacf63e3739eff933570242cc4cb9efd7d641d /vapi/webkit2gtk-4.0.vapi | |
parent | 172d545567991fd104d3e2c7a90809c1356c94e1 (diff) | |
download | vala-710df2483187bea72ef6d28f64498101adbc99e6.tar.gz |
vapi: Update GIR-based bindings
Diffstat (limited to 'vapi/webkit2gtk-4.0.vapi')
-rw-r--r-- | vapi/webkit2gtk-4.0.vapi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi index ea1126498..a4ff618bc 100644 --- a/vapi/webkit2gtk-4.0.vapi +++ b/vapi/webkit2gtk-4.0.vapi @@ -2,6 +2,25 @@ [CCode (cprefix = "WebKit", gir_namespace = "WebKit2", gir_version = "4.0", lower_case_cprefix = "webkit_")] namespace WebKit { + [CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_application_info_ref", type_id = "webkit_application_info_get_type ()", unref_function = "webkit_application_info_unref")] + [Compact] + public class ApplicationInfo { + [CCode (has_construct_function = false)] + [Version (since = "2.18")] + public ApplicationInfo (); + [Version (since = "2.18")] + public unowned string get_name (); + [Version (since = "2.18")] + public void get_version (out uint64 major, out uint64 minor, out uint64 micro); + [Version (since = "2.18")] + public unowned WebKit.ApplicationInfo @ref (); + [Version (since = "2.18")] + public void set_name (string name); + [Version (since = "2.18")] + public void set_version (uint64 major, uint64 minor, uint64 micro); + [Version (since = "2.18")] + public void unref (); + } [CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_authentication_request_get_type ()")] public class AuthenticationRequest : GLib.Object { [CCode (has_construct_function = false)] @@ -34,8 +53,12 @@ namespace WebKit { [CCode (has_construct_function = false)] protected AutomationSession (); [Version (since = "2.18")] + public unowned WebKit.ApplicationInfo get_application_info (); + [Version (since = "2.18")] public unowned string get_id (); [Version (since = "2.18")] + public void set_application_info (WebKit.ApplicationInfo info); + [Version (since = "2.18")] public string id { get; construct; } [Version (since = "2.18")] public signal unowned WebKit.WebView create_web_view (); |