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 | |
parent | 172d545567991fd104d3e2c7a90809c1356c94e1 (diff) | |
download | vala-710df2483187bea72ef6d28f64498101adbc99e6.tar.gz |
vapi: Update GIR-based bindings
-rw-r--r-- | vapi/gio-2.0.vapi | 3 | ||||
-rw-r--r-- | vapi/gstreamer-1.0.vapi | 3 | ||||
-rw-r--r-- | vapi/gstreamer-app-1.0.vapi | 2 | ||||
-rw-r--r-- | vapi/libgdata.vapi | 14 | ||||
-rw-r--r-- | vapi/libsoup-2.4.vapi | 2 | ||||
-rw-r--r-- | vapi/webkit2gtk-4.0.vapi | 23 |
6 files changed, 42 insertions, 5 deletions
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 4f458ce2d..96b3d9b31 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -3919,7 +3919,8 @@ namespace GLib { public enum BusNameOwnerFlags { NONE, ALLOW_REPLACEMENT, - REPLACE + REPLACE, + DO_NOT_QUEUE } [CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_NAME_WATCHER_FLAGS_", type_id = "g_bus_name_watcher_flags_get_type ()")] [Flags] diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index d9ddbe905..92e3c897f 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -3945,9 +3945,6 @@ namespace Gst { [CCode (cheader_filename = "gst/gst.h", cname = "GST_VERSION_NANO")] public const int VERSION_NANO; [CCode (cheader_filename = "gst/gst.h")] - [Version (since = "1.12")] - public static bool calculate_linear_regression (Gst.ClockTime xy, Gst.ClockTime temp, uint n, out Gst.ClockTime m_num, out Gst.ClockTime m_denom, out Gst.ClockTime b, out Gst.ClockTime xbase, out double r_squared); - [CCode (cheader_filename = "gst/gst.h")] public static void deinit (); [CCode (cheader_filename = "gst/gst.h")] public static bool dynamic_type_register (Gst.Plugin plugin, GLib.Type type); diff --git a/vapi/gstreamer-app-1.0.vapi b/vapi/gstreamer-app-1.0.vapi index d999359c8..e00f042ff 100644 --- a/vapi/gstreamer-app-1.0.vapi +++ b/vapi/gstreamer-app-1.0.vapi @@ -56,7 +56,7 @@ namespace Gst { [Version (since = "1.10")] public Gst.ClockTime get_duration (); public bool get_emit_signals (); - public void get_latency (uint64 min, uint64 max); + public void get_latency (out uint64 min, out uint64 max); public uint64 get_max_bytes (); public int64 get_size (); public Gst.App.StreamType get_stream_type (); diff --git a/vapi/libgdata.vapi b/vapi/libgdata.vapi index 54dcfcfe5..981ecf02c 100644 --- a/vapi/libgdata.vapi +++ b/vapi/libgdata.vapi @@ -801,6 +801,16 @@ namespace GData { [CCode (has_construct_function = false)] public DocumentsFolder (string? id); } + [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_metadata_get_type ()")] + [Version (since = "0.17.9")] + public class DocumentsMetadata : GData.Parsable { + [CCode (has_construct_function = false)] + protected DocumentsMetadata (); + public int64 get_quota_total (); + public int64 get_quota_used (); + public int64 quota_total { get; } + public int64 quota_used { get; } + } [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_pdf_get_type ()")] [Version (since = "0.13.3")] public class DocumentsPdf : GData.DocumentsDocument, GData.AccessHandler { @@ -857,6 +867,10 @@ namespace GData { public async GData.DocumentsDocument copy_document_async (GData.DocumentsDocument document, GLib.Cancellable? cancellable) throws GLib.Error; [Version (since = "0.8.0")] public GData.DocumentsDocument finish_upload (GData.UploadStream upload_stream) throws GLib.Error; + [Version (since = "0.17.9")] + public GData.DocumentsMetadata get_metadata (GLib.Cancellable? cancellable = null) throws GLib.Error; + [Version (since = "0.17.9")] + public async GData.DocumentsMetadata get_metadata_async (GLib.Cancellable? cancellable) throws GLib.Error; [Version (since = "0.9.0")] public static unowned GData.AuthorizationDomain get_primary_authorization_domain (); [Version (since = "0.9.0")] diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi index 066d14057..4884646a2 100644 --- a/vapi/libsoup-2.4.vapi +++ b/vapi/libsoup-2.4.vapi @@ -1137,6 +1137,8 @@ namespace Soup { public virtual signal void closing (); public virtual signal void error (GLib.Error error); public virtual signal void message (int type, GLib.Bytes message); + [Version (since = "2.60")] + public virtual signal void pong (GLib.Bytes message); } [CCode (cheader_filename = "libsoup/soup.h", has_type_id = false)] [Compact] 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 (); |