public void set_cache_mask (Atspi.Cache mask);
public virtual signal void region_changed (int current_offset, int last_offset);
}
+ [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_application_get_type ()")]
+ public class Application : GLib.Object {
+ public weak string atspi_version;
+ public weak string bus_name;
+ public Atspi.Cache cache;
+ public weak GLib.HashTable<void*,void*> hash;
+ public void* root;
+ public void* time_added;
+ public weak string toolkit_name;
+ public weak string toolkit_version;
+ [CCode (has_construct_function = false)]
+ protected Application ();
+ }
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_listener_get_type ()")]
public class DeviceListener : GLib.Object {
public weak GLib.List<void*> callbacks;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_object_get_type ()")]
public class Object : GLib.Object {
- public Atspi.Application app;
+ public weak Atspi.Application app;
public weak string path;
[CCode (has_construct_function = false)]
protected Object ();
public double get_minimum_value () throws GLib.Error;
public bool set_current_value (double new_value) throws GLib.Error;
}
- [CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
- public struct Application {
- public weak GLib.Object parent;
- public weak GLib.HashTable<void*,void*> hash;
- public weak string bus_name;
- public void* root;
- public Atspi.Cache cache;
- public weak string toolkit_name;
- public weak string toolkit_version;
- public weak string atspi_version;
- public void* time_added;
- }
- [CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
- public struct ApplicationClass {
- public weak GLib.ObjectClass parent_class;
- }
[CCode (cheader_filename = "atspi/atspi.h")]
[SimpleType]
public struct ControllerEventMask : uint {
public bool get_is_backup ();
public bool get_is_hidden ();
public bool get_is_symlink ();
+ [Version (since = "2.62")]
+ public GLib.DateTime? get_modification_date_time ();
+ [Version (deprecated = true, deprecated_since = "2.62")]
public GLib.TimeVal get_modification_time ();
public unowned string get_name ();
public int64 get_size ();
public void set_icon (GLib.Icon icon);
public void set_is_hidden (bool is_hidden);
public void set_is_symlink (bool is_symlink);
+ [Version (since = "2.62")]
+ public void set_modification_date_time (GLib.DateTime mtime);
+ [Version (deprecated = true, deprecated_since = "2.62")]
public void set_modification_time (GLib.TimeVal mtime);
public void set_name (string name);
public void set_size (int64 size);
public static unowned GES.Asset get_default ();
public virtual bool load_from_uri (GES.Timeline timeline, string uri) throws GLib.Error;
[CCode (cname = "ges_formatter_class_register_metas")]
- public class void register_metas (string name, string description, string extension, string mimetype, double version, Gst.Rank rank);
+ public class void register_metas (string name, string description, string extensions, string caps, double version, Gst.Rank rank);
public virtual bool save_to_uri (GES.Timeline timeline, string uri, bool overwrite) throws GLib.Error;
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_group_get_type ()")]
public Project (string? uri);
public bool add_asset (GES.Asset asset);
public bool add_encoding_profile (Gst.PbUtils.EncodingProfile profile);
+ [Version (since = "1.18")]
+ public void add_formatter (GES.Formatter formatter);
public bool create_asset (string? id, GLib.Type extractable_type);
public GES.Asset? create_asset_sync (string? id, GLib.Type extractable_type) throws GLib.Error;
public GES.Asset? get_asset (string id, GLib.Type extractable_type);
[Version (since = "1.8")]
public virtual signal void asset_loading (GES.Asset asset);
public virtual signal void asset_removed (GES.Asset asset);
+ [Version (since = "1.18")]
+ public signal void error_loading (GES.Timeline timeline, GLib.Error error);
public signal void error_loading_asset (GLib.Error error, string id, GLib.Type extractable_type);
public virtual signal void loaded (GES.Timeline timeline);
[Version (since = "1.18")]
public unowned Gst.Caps get_caps ();
public GLib.List<GES.TrackElement> get_elements ();
public bool get_mixing ();
+ [Version (since = "1.18")]
+ public Gst.Caps get_restriction_caps ();
public unowned GES.Timeline? get_timeline ();
public bool remove_element (GES.TrackElement object);
public void set_mixing (bool mixing);
[NoAccessorMethod]
public string id { owned get; set; }
public bool mixing { get; set construct; }
- [NoAccessorMethod]
public Gst.Caps restriction_caps { owned get; set; }
[NoAccessorMethod]
public GES.TrackType track_type { get; construct; }
public static GES.UriClipAsset finish (GLib.AsyncResult res) throws GLib.Error;
public Gst.ClockTime get_duration ();
public unowned Gst.PbUtils.DiscovererInfo get_info ();
+ [Version (since = "1.18")]
+ public Gst.ClockTime get_max_duration ();
public unowned GLib.List<GES.UriSourceAsset> get_stream_assets ();
public bool is_image ();
[CCode (cname = "ges_uri_clip_asset_request_sync", has_construct_function = false)]
public class void set_timeout (Gst.ClockTime timeout);
[NoAccessorMethod]
public uint64 duration { get; set; }
+ [NoAccessorMethod]
+ public bool is_nested_timeline { get; }
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_uri_source_asset_get_type ()")]
public class UriSourceAsset : GES.TrackElementAsset, GES.MetaContainer, GLib.AsyncInitable, GLib.Initable {
[CCode (cheader_filename = "ges/ges.h")]
public static void deinit ();
[CCode (cheader_filename = "ges/ges.h")]
+ [Version (since = "1.18")]
+ public static unowned GES.Asset find_formatter_for_uri (string uri);
+ [CCode (cheader_filename = "ges/ges.h")]
public static bool init ();
[CCode (cheader_filename = "ges/ges.h")]
public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref string[]? argv) throws GLib.Error;
public bool show_editor { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_chooser_widget_get_type ()")]
- public class ColorChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser, Gtk.ConstraintTarget, Gtk.Orientable {
+ public class ColorChooserWidget : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser, Gtk.ConstraintTarget {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ColorChooserWidget ();
[NoAccessorMethod]
public ComboBoxText ();
public void append (string? id, string text);
public void append_text (string text);
- public string get_active_text ();
+ public string? get_active_text ();
public void insert (int position, string? id, string text);
public void insert_text (int position, string text);
public void prepend (string? id, string text);
[Version (since = "2.50")]
public void add_early_handler (string? path, owned Soup.ServerCallback callback);
public void add_handler (string? path, owned Soup.ServerCallback callback);
+ [Version (since = "2.68")]
+ public void add_websocket_extension (GLib.Type extension_type);
public void add_websocket_handler (string? path, string? origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols, owned Soup.ServerWebsocketCallback callback);
public void disconnect ();
[Version (deprecated = true)]
public void quit ();
public void remove_auth_domain (Soup.AuthDomain auth_domain);
public void remove_handler (string path);
+ [Version (since = "2.68")]
+ public void remove_websocket_extension (GLib.Type extension_type);
[Version (deprecated = true)]
public void run ();
[Version (deprecated = true)]
public ushort get_close_code ();
public unowned string get_close_data ();
public Soup.WebsocketConnectionType get_connection_type ();
+ [Version (since = "2.68")]
+ public unowned GLib.List<Soup.WebsocketExtension> get_extensions ();
public unowned GLib.IOStream get_io_stream ();
[Version (since = "2.58")]
public uint get_keepalive_interval ();
public void set_keepalive_interval (uint interval);
[Version (since = "2.56")]
public void set_max_incoming_payload_size (uint64 max_incoming_payload_size);
+ [CCode (has_construct_function = false)]
+ [Version (since = "2.68")]
+ public WebsocketConnection.with_extensions (GLib.IOStream stream, Soup.URI uri, Soup.WebsocketConnectionType type, string? origin, string? protocol, owned GLib.List<Soup.WebsocketExtension> extensions);
public Soup.WebsocketConnectionType connection_type { get; construct; }
+ [Version (since = "2.68")]
+ public void* extensions { get; construct; }
public GLib.IOStream io_stream { get; construct; }
[Version (since = "2.58")]
public uint keepalive_interval { get; set construct; }
[Version (since = "2.60")]
public virtual signal void pong (GLib.Bytes message);
}
+ [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_websocket_extension_get_type ()")]
+ public abstract class WebsocketExtension : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected WebsocketExtension ();
+ public virtual bool configure (Soup.WebsocketConnectionType connection_type, GLib.HashTable<void*,void*>? @params) throws GLib.Error;
+ [Version (since = "2.68")]
+ public virtual string? get_request_params ();
+ [Version (since = "2.68")]
+ public virtual string? get_response_params ();
+ [Version (since = "2.68")]
+ public virtual GLib.Bytes process_incoming_message (ref uint8 header, owned GLib.Bytes payload) throws GLib.Error;
+ [Version (since = "2.68")]
+ public virtual GLib.Bytes process_outgoing_message (ref uint8 header, owned GLib.Bytes payload) throws GLib.Error;
+ }
+ [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_websocket_extension_deflate_get_type ()")]
+ public class WebsocketExtensionDeflate : Soup.WebsocketExtension {
+ [CCode (has_construct_function = false)]
+ protected WebsocketExtensionDeflate ();
+ }
+ [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_websocket_extension_manager_get_type ()")]
+ public class WebsocketExtensionManager : GLib.Object, Soup.SessionFeature {
+ [CCode (has_construct_function = false)]
+ protected WebsocketExtensionManager ();
+ }
[CCode (cheader_filename = "libsoup/soup.h", has_type_id = false)]
[Compact]
[Version (since = "2.52")]
[Version (since = "2.50")]
public static void websocket_client_prepare_handshake (Soup.Message msg, string? origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.68")]
+ public static void websocket_client_prepare_handshake_with_extensions (Soup.Message msg, string? origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols, GLib.GenericArray<GLib.TypeClass>? supported_extensions);
+ [CCode (cheader_filename = "libsoup/soup.h")]
[Version (since = "2.50")]
public static bool websocket_client_verify_handshake (Soup.Message msg) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.68")]
+ public static bool websocket_client_verify_handshake_with_extensions (Soup.Message msg, GLib.GenericArray<GLib.TypeClass>? supported_extensions, out GLib.List<Soup.WebsocketExtension> accepted_extensions) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h")]
[Version (since = "2.50")]
public static bool websocket_server_check_handshake (Soup.Message msg, string? origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.68")]
+ public static bool websocket_server_check_handshake_with_extensions (Soup.Message msg, string? origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols, GLib.GenericArray<GLib.TypeClass>? supported_extensions) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h")]
[Version (since = "2.50")]
public static bool websocket_server_process_handshake (Soup.Message msg, string? expected_origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols);
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ [Version (since = "2.68")]
+ public static bool websocket_server_process_handshake_with_extensions (Soup.Message msg, string? expected_origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols, GLib.GenericArray<GLib.TypeClass>? supported_extensions, out GLib.List<Soup.WebsocketExtension> accepted_extensions);
}
public unowned string? get_local_storage_directory ();
[Version (since = "2.10")]
public unowned string? get_offline_application_cache_directory ();
- [Version (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.24.", since = "2.10")]
public unowned string? get_websql_directory ();
[Version (since = "2.16")]
public async bool remove (WebKit.WebsiteDataTypes types, GLib.List<WebKit.WebsiteData> website_data, GLib.Cancellable? cancellable = null) throws GLib.Error;
public string local_storage_directory { get; construct; }
[Version (since = "2.10")]
public string offline_application_cache_directory { get; construct; }
- [Version (since = "2.10")]
+ [Version (deprecated = true, deprecated_since = "2.24.", since = "2.10")]
public string websql_directory { get; construct; }
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_window_properties_get_type ()")]