$(GENVAPI) --library $(srcdir)/clutter-gtk-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/GtkClutter-1.0-custom.vala --pkg clutter-1.0 --pkg gtk+-3.0 --pkg cogl-pango-1.0 $(GIRDIR)/GtkClutter-1.0.gir
clutter-gst-1.0:
- $(GENVAPI) --library $(srcdir)/clutter-gst-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/ClutterGst-1.0-custom.vala --pkg clutter-1.0 --pkg gstreamer-base-0.10 --pkg gstreamer-video-0.10 gstreamer-interfaces-0.10.vapi $(GIRDIR)/ClutterGst-1.0.gir
+ $(GENVAPI) --library $(srcdir)/clutter-gst-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/ClutterGst-1.0-custom.vala --pkg clutter-1.0 --pkg gstreamer-base-0.10 --pkg gstreamer-video-0.10 --pkg gstreamer-interfaces-0.10 --pkg gstreamer-audio-0.10 $(GIRDIR)/ClutterGst-1.0.gir
clutter-gst-2.0:
$(GENVAPI) --library $(srcdir)/clutter-gst-2.0 --metadatadir $(METADATADIR) $(METADATADIR)/ClutterGst-2.0-custom.vala --pkg cogl-1.0 --pkg clutter-1.0 --pkg gstreamer-base-1.0 --pkg gstreamer-video-1.0 $(GIRDIR)/ClutterGst-2.0.gir
$(GENVAPI) --library $(srcdir)/hildon-fm-2 $(PACKAGESDIR)/hildon-fm-2/hildon-fm-2.gi
json-glib-1.0:
- $(GENVAPI) --library $(srcdir)/json-glib-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/Json-1.0-custom.vala --pkg gio-2.0 $(GIRDIR)/Json-1.0.gir
+ $(GENVAPI) --library $(srcdir)/json-glib-1.0 --metadatadir $(METADATADIR) --pkg gio-2.0 $(METADATADIR)/Json-1.0-custom.vala $(GIRDIR)/Json-1.0.gir
libepc-1.0:
$(GENVAPI) --library $(srcdir)/libepc-1.0 $(PACKAGESDIR)/libepc-1.0/libepc-1.0.gi
[Deprecated (replacement = "TextAttribute.register", since = "vala-0.16")]
public static Atk.TextAttribute attribute_register (string name);
public static void free_ranges ([CCode (array_length = false)] Atk.TextRange[] ranges);
- [CCode (array_length = false, array_null_terminated = true)]
- [NoWrapper]
+ [CCode (array_length = false, array_null_terminated = true, cname = "atk_text_get_bounded_ranges")]
public virtual Atk.TextRange[] get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type);
public abstract int get_caret_offset ();
public abstract unichar get_character_at_offset (int offset);
[CCode (cprefix = "Atspi", gir_namespace = "Atspi", gir_version = "2.0", lower_case_cprefix = "atspi_")]
namespace Atspi {
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_accessible_get_type ()")]
- public class Accessible : Atspi.Object, Atspi.Action, Atspi.Collection, Atspi.Component, Atspi.Document, Atspi.EditableText, Atspi.Hypertext, Atspi.Image, Atspi.Selection, Atspi.Table, Atspi.Text, Atspi.Value {
+ public class Accessible : Atspi.Object, Atspi.Action, Atspi.Collection, Atspi.Component, Atspi.Document, Atspi.EditableText, Atspi.Hypertext, Atspi.Image, Atspi.Selection, Atspi.Table, Atspi.TableCell, Atspi.Text, Atspi.Value {
public weak Atspi.Accessible accessible_parent;
public weak GLib.HashTable<void*,void*> attributes;
public uint cached_properties;
public Atspi.StateSet get_state_set ();
[Deprecated (since = "2.10")]
public Atspi.Table get_table ();
+ public Atspi.TableCell get_table_cell ();
public Atspi.Table get_table_iface ();
[Deprecated (since = "2.10")]
public Atspi.Text get_text ();
public DeviceListener (owned Atspi.DeviceListenerCB callback);
public void add_callback ([CCode (delegate_target_pos = 1.2, destroy_notify_pos = 1.1)] owned Atspi.DeviceListenerCB callback);
[NoWrapper]
- public virtual bool device_event (Atspi.DeviceEvent arg1);
+ public virtual bool device_event (Atspi.DeviceEvent event);
public void remove_callback (Atspi.DeviceListenerCB callback);
[CCode (has_construct_function = false)]
public DeviceListener.simple ([CCode (destroy_notify_pos = 1.1)] owned Atspi.DeviceListenerSimpleCB callback);
public static bool deregister_no_data (Atspi.EventListenerSimpleCB callback, string event_type) throws GLib.Error;
public bool register (string event_type) throws GLib.Error;
public static bool register_from_callback ([CCode (delegate_target_pos = 1.33333, destroy_notify_pos = 1.66667)] owned Atspi.EventListenerCB callback, string event_type) throws GLib.Error;
+ public bool register_full (string event_type, GLib.Array<string>? properties) throws GLib.Error;
public static bool register_no_data ([CCode (destroy_notify_pos = 1.5)] owned Atspi.EventListenerSimpleCB callback, string event_type) throws GLib.Error;
[CCode (has_construct_function = false)]
public EventListener.simple ([CCode (destroy_notify_pos = 1.1)] owned Atspi.EventListenerSimpleCB callback);
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_collection_get_type ()")]
public interface Collection : GLib.Object {
+ public Atspi.Accessible get_active_descendant () throws GLib.Error;
public GLib.Array<Atspi.Accessible> get_matches (Atspi.MatchRule rule, Atspi.CollectionSortOrder sortby, int count, bool traverse) throws GLib.Error;
public GLib.Array<Atspi.Accessible> get_matches_from (Atspi.Accessible current_object, Atspi.MatchRule rule, Atspi.CollectionSortOrder sortby, Atspi.CollectionTreeTraversalType tree, int count, bool traverse) throws GLib.Error;
public GLib.Array<Atspi.Accessible> get_matches_to (Atspi.Accessible current_object, Atspi.MatchRule rule, Atspi.CollectionSortOrder sortby, Atspi.CollectionTreeTraversalType tree, bool limit_scope, int count, bool traverse) throws GLib.Error;
public string get_attribute_value (string attribute) throws GLib.Error;
[Deprecated (since = "2.10")]
public GLib.HashTable<string,string> get_attributes () throws GLib.Error;
+ public int get_current_page_number () throws GLib.Error;
public string get_document_attribute_value (string attribute) throws GLib.Error;
public GLib.HashTable<string,string> get_document_attributes () throws GLib.Error;
public string get_locale () throws GLib.Error;
+ public int get_page_count () throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_editable_text_get_type ()")]
public interface EditableText : GLib.Object {
public bool remove_column_selection (int column) throws GLib.Error;
public bool remove_row_selection (int row) throws GLib.Error;
}
+ [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_table_cell_get_type ()")]
+ public interface TableCell : GLib.Object {
+ public GLib.GenericArray<Atspi.Accessible> get_column_header_cells () throws GLib.Error;
+ public int get_column_index () throws GLib.Error;
+ public int get_column_span (GLib.Error error);
+ public void get_row_column_span (out int row, out int column, out int row_span, out int column_span) throws GLib.Error;
+ public GLib.GenericArray<Atspi.Accessible> get_row_header_cells () throws GLib.Error;
+ public int get_row_index () throws GLib.Error;
+ public int get_row_span () throws GLib.Error;
+ public Atspi.Accessible get_table () throws GLib.Error;
+ }
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_text_get_type ()")]
public interface Text : GLib.Object {
public bool add_selection (int start_offset, int end_offset) throws GLib.Error;
[SimpleType]
public struct ControllerEventMask : uint {
}
- [CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
+ [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_event_get_type ()")]
public struct DeviceEvent {
public Atspi.EventType type;
public uint id;
[SimpleType]
public struct KeyMaskType : uint {
}
+ [CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
+ public struct KeySet {
+ public uint keysyms;
+ public ushort keycodes;
+ public weak string keystrings;
+ public short len;
+ }
[CCode (cheader_filename = "atspi/atspi.h")]
[SimpleType]
public struct KeystrokeListener {
public weak string name;
public weak string path;
}
- [CCode (cheader_filename = "atspi/atspi.h", cname = "_AtspiKeySet", has_type_id = false)]
- public struct _KeySet {
- public uint keysyms;
- public ushort keycodes;
- public weak string keystrings;
- public short len;
- }
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_CACHE_", type_id = "atspi_cache_get_type ()")]
[Flags]
public enum Cache {
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_ERROR_", has_type_id = false)]
public enum Error {
APPLICATION_GONE,
- IPC
+ IPC,
+ SYNC_NOT_ALLOWED
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_", type_id = "atspi_event_type_get_type ()")]
public enum EventType {
NOTIFICATION,
INFO_BAR,
LEVEL_BAR,
+ TITLE_BAR,
+ BLOCK_QUOTE,
+ AUDIO,
+ VIDEO,
+ DEFINITION,
+ ARTICLE,
+ LANDMARK,
+ LOG,
+ MARQUEE,
+ MATH,
+ RATING,
+ TIMER,
LAST_DEFINED;
public static string get_name (Atspi.Role role);
}
SELECTABLE_TEXT,
IS_DEFAULT,
VISITED,
+ CHECKABLE,
+ HAS_POPUP,
LAST_DEFINED
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_TEXT_BOUNDARY_", type_id = "atspi_text_boundary_type_get_type ()")]
public const string DBUS_INTERFACE_SOCKET;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_TABLE")]
public const string DBUS_INTERFACE_TABLE;
+ [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_TABLE_CELL")]
+ public const string DBUS_INTERFACE_TABLE_CELL;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_TEXT")]
public const string DBUS_INTERFACE_TEXT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_VALUE")]
[CCode (cheader_filename = "atspi/atspi.h")]
public static int get_desktop_count ();
[CCode (cheader_filename = "atspi/atspi.h")]
+ public static GLib.Array<Atspi.Accessible> get_desktop_list ();
+ [CCode (cheader_filename = "atspi/atspi.h")]
public static int init ();
[CCode (cheader_filename = "atspi/atspi.h")]
public static bool is_initialized ();
public void get_release_coords (uint point, out float release_x, out float release_y);
public unowned Clutter.EventSequence get_sequence (uint point);
public void get_threshold_trigger_distance (out float x, out float y);
- public Clutter.GestureTriggerEdge get_threshold_trigger_egde ();
+ public Clutter.GestureTriggerEdge get_threshold_trigger_edge ();
public float get_velocity (uint point, out float velocity_x, out float velocity_y);
public void set_n_touch_points (int nb_points);
public void set_threshold_trigger_distance (float x, float y);
public float threshold_trigger_distance_x { get; construct; }
[NoAccessorMethod]
public float threshold_trigger_distance_y { get; construct; }
- [NoAccessorMethod]
public Clutter.GestureTriggerEdge threshold_trigger_edge { get; construct; }
public virtual signal bool gesture_begin (Clutter.Actor actor);
public virtual signal void gesture_cancel (Clutter.Actor actor);
[CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_placeholder_get_type ()")]
public class DockPlaceholder : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Deprecated]
+ [Deprecated (since = "3.6")]
public DockPlaceholder (string name, Gdl.DockObject object, Gdl.DockPlacement position, bool sticky);
- [Deprecated]
+ [Deprecated (since = "3.6")]
public void attach (Gdl.DockObject object);
[NoAccessorMethod]
public bool floating { get; construct; }
[CCode (has_construct_function = false, type = "GtkWidget*")]
[Deprecated (since = "3.6")]
public DockTablabel (Gdl.DockItem item);
- [Deprecated]
+ [Deprecated (since = "3.6")]
public void activate ();
- [Deprecated]
+ [Deprecated (since = "3.6")]
public void deactivate ();
[NoAccessorMethod]
public Gdl.DockItem item { owned get; set; }
public abstract bool can_poll ();
public abstract GLib.PollableSource create_source (GLib.Cancellable? cancellable = null);
public abstract bool is_readable ();
- public ssize_t read_nonblocking ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize", type = "void*")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public ssize_t read_nonblocking ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (vfunc_name = "read_nonblocking")]
- public abstract ssize_t read_nonblocking_fn ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize", type = "void*")] uint8[] buffer) throws GLib.Error;
+ public abstract ssize_t read_nonblocking_fn ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buffer) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GPollableOutputStreamInterface", type_id = "g_pollable_output_stream_get_type ()")]
public interface PollableOutputStream : GLib.OutputStream {
[CCode (cheader_filename = "gio/gio.h")]
public static void networking_init ();
[CCode (cheader_filename = "gio/gio.h")]
- public static ssize_t pollable_stream_read (GLib.InputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize", type = "void*")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public static ssize_t pollable_stream_read (GLib.InputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
public static ssize_t pollable_stream_write (GLib.OutputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
public Gtk.SourceCompletionActivation get_activation ();
public Gtk.TextIter get_iter ();
[NoAccessorMethod]
- public Gtk.SourceCompletionActivation activation { get; set; }
+ public Gtk.SourceCompletionActivation activation { get; set construct; }
[NoAccessorMethod]
public Gtk.SourceCompletion completion { owned get; construct; }
[NoAccessorMethod]
public bool get_null_element (uint index_);
public unowned Json.Object get_object_element (uint index_);
public unowned string get_string_element (uint index_);
- public Json.Array @ref ();
+ public unowned Json.Array @ref ();
public void remove_element (uint index_);
[CCode (cname = "json_array_sized_new", has_construct_function = false)]
public Array.sized (uint n_elements);
public class Node {
[CCode (has_construct_function = false)]
public Node (Json.NodeType type);
- public static Json.Node alloc ();
+ [CCode (cname = "json_node_alloc", has_construct_function = false)]
+ public Node.alloc ();
public Json.Node copy ();
public Json.Array dup_array ();
public Json.Object dup_object ();
public unowned string get_string_member (string member_name);
public GLib.List<weak Json.Node> get_values ();
public bool has_member (string member_name);
- public Json.Object @ref ();
+ public unowned Json.Object @ref ();
public void remove_member (string member_name);
public void set_array_member (string member_name, owned Json.Array value);
public void set_boolean_member (string member_name, bool value);
MISSING_COLON,
INVALID_BAREWORD,
EMPTY_MEMBER_NAME,
+ INVALID_DATA,
UNKNOWN
}
[CCode (cheader_filename = "json-glib/json-glib.h", cprefix = "JSON_PATH_ERROR_INVALID_", has_type_id = false)]
public delegate Json.Node BoxedSerializeFunc (void* boxed);
[CCode (cheader_filename = "json-glib/json-glib.h", instance_pos = 3.9)]
public delegate void ObjectForeach (Json.Object object, string member_name, Json.Node member_node);
- [CCode (cheader_filename = "json-glib/json-glib.h")]
+ [CCode (cheader_filename = "json-glib/json-glib.h", cname = "JSON_MAJOR_VERSION")]
public const int MAJOR_VERSION;
- [CCode (cheader_filename = "json-glib/json-glib.h")]
+ [CCode (cheader_filename = "json-glib/json-glib.h", cname = "JSON_MICRO_VERSION")]
public const int MICRO_VERSION;
- [CCode (cheader_filename = "json-glib/json-glib.h")]
+ [CCode (cheader_filename = "json-glib/json-glib.h", cname = "JSON_MINOR_VERSION")]
public const int MINOR_VERSION;
[CCode (cheader_filename = "json-glib/json-glib.h")]
public const int VERSION_HEX;
- [CCode (cheader_filename = "json-glib/json-glib.h")]
+ [CCode (cheader_filename = "json-glib/json-glib.h", cname = "JSON_VERSION_S")]
public const string VERSION_S;
[CCode (cheader_filename = "json-glib/json-glib.h")]
public static bool boxed_can_deserialize (GLib.Type gboxed_type, Json.NodeType node_type);
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_PPT")]
public const string PPT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_SWF")]
- [Deprecated (since = "SWF export has been deprecated in the protocol due to low demand for it; PDF export (using %GDATA_DOCUMENTS_PRESENTATION_PDF) is recommended instead. (Since")]
+ [Deprecated]
public const string SWF;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_TXT")]
public const string TXT;
public ClientLoginAuthorizer.for_authorization_domains (string client_id, GLib.List<GData.AuthorizationDomain> authorization_domains);
public unowned string get_client_id ();
public unowned string get_password ();
+ public unowned GLib.ProxyResolver get_proxy_resolver ();
+ [Deprecated]
public Soup.URI get_proxy_uri ();
public uint get_timeout ();
public unowned string get_username ();
+ public void set_proxy_resolver (GLib.ProxyResolver? proxy_resolver);
+ [Deprecated]
public void set_proxy_uri (Soup.URI? proxy_uri);
public void set_timeout (uint timeout);
public string client_id { get; construct; }
public string password { get; }
+ public GLib.ProxyResolver proxy_resolver { get; set; }
+ [Deprecated]
public Soup.URI proxy_uri { owned get; set; }
public uint timeout { get; set; }
public string username { get; }
public abstract class DocumentsEntry : GData.Entry, GData.AccessHandler {
[CCode (has_construct_function = false)]
protected DocumentsEntry ();
- [Deprecated (since = "Use gdata_documents_entry_get_resource_id() instead. See #GDataDocumentsEntry:document-id. (Since")]
+ [Deprecated]
public unowned string get_document_id ();
public int64 get_edited ();
public unowned GData.Author get_last_modified_by ();
public int64 get_quota_used ();
public unowned string get_resource_id ();
public void set_writers_can_invite (bool writers_can_invite);
- [Deprecated (since = "This a substring of the #GDataDocumentsEntry:resource-id, which is more general and should be used instead. (Since")]
+ [Deprecated]
public string document_id { get; }
public int64 edited { get; }
[NoAccessorMethod]
public uint total_results { get; }
public int64 updated { get; }
}
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_query_get_type ()")]
+ public class FreebaseQuery : GData.Query {
+ [CCode (has_construct_function = false)]
+ public FreebaseQuery (string mql);
+ [CCode (has_construct_function = false)]
+ public FreebaseQuery.from_variant (GLib.Variant variant);
+ [NoAccessorMethod]
+ public GLib.Variant variant { owned get; construct; }
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_result_get_type ()")]
+ public class FreebaseResult : GData.Entry {
+ [CCode (has_construct_function = false)]
+ public FreebaseResult ();
+ public GLib.Variant dup_variant ();
+ [NoAccessorMethod]
+ public GLib.Variant variant { owned get; }
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_search_query_get_type ()")]
+ public class FreebaseSearchQuery : GData.Query {
+ [CCode (has_construct_function = false)]
+ public FreebaseSearchQuery (string search_terms);
+ public void add_filter (string property, string value);
+ public void add_location (uint64 radius, double lat, double lon);
+ public void close_filter ();
+ public unowned string get_language ();
+ public bool get_stemmed ();
+ public void open_filter (GData.FreebaseSearchFilterType filter_type);
+ public void set_language (string? lang);
+ public void set_stemmed (bool stemmed);
+ public string language { get; set; }
+ public bool stemmed { get; set; }
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_search_result_get_type ()")]
+ public class FreebaseSearchResult : GData.FreebaseResult {
+ [CCode (has_construct_function = false)]
+ public FreebaseSearchResult ();
+ public unowned GData.FreebaseSearchResultItem get_item (uint i);
+ public uint get_num_items ();
+ public uint get_total_hits ();
+ }
+ [CCode (cheader_filename = "gdata/gdata.h")]
+ [Compact]
+ public class FreebaseSearchResultItem {
+ public unowned string get_id ();
+ public unowned string get_language ();
+ public unowned string get_mid ();
+ public unowned string get_name ();
+ public unowned string get_notable_id ();
+ public unowned string get_notable_name ();
+ public double get_score ();
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_service_get_type ()")]
+ public class FreebaseService : GData.Service {
+ [CCode (has_construct_function = false)]
+ public FreebaseService (string? developer_key, GData.Authorizer? authorizer);
+ public GLib.InputStream get_image (GData.FreebaseTopicValue value, GLib.Cancellable? cancellable, uint max_width, uint max_height) throws GLib.Error;
+ public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
+ public GData.FreebaseTopicResult get_topic (GData.FreebaseTopicQuery query, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async void get_topic_async (GData.FreebaseTopicQuery query, GLib.Cancellable? cancellable);
+ public GData.FreebaseResult query (GData.FreebaseQuery query, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async void query_async (GData.FreebaseQuery query, GLib.Cancellable? cancellable);
+ public GData.FreebaseSearchResult search (GData.FreebaseSearchQuery query, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async void search_async (GData.FreebaseSearchQuery query, GLib.Cancellable? cancellable);
+ [NoAccessorMethod]
+ public string developer_key { owned get; construct; }
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", ref_function = "gdata_freebase_topic_object_ref", type_id = "gdata_freebase_topic_object_get_type ()", unref_function = "gdata_freebase_topic_object_unref")]
+ [Compact]
+ public class FreebaseTopicObject {
+ public unowned string get_id ();
+ public uint64 get_property_count (string property);
+ public uint64 get_property_hits (string property);
+ public unowned GData.FreebaseTopicValue get_property_value (string property, int64 item);
+ public GLib.GenericArray<weak string> list_properties ();
+ public GData.FreebaseTopicObject @ref ();
+ public void unref ();
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_topic_query_get_type ()")]
+ public class FreebaseTopicQuery : GData.Query {
+ [CCode (has_construct_function = false)]
+ public FreebaseTopicQuery (string id);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public unowned string[] get_filter ();
+ public unowned string get_language ();
+ public void set_filter ([CCode (array_length = false, array_null_terminated = true)] string[]? filter);
+ public void set_language (string? lang);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] filter { get; set; }
+ public string language { get; set; }
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_freebase_topic_result_get_type ()")]
+ public class FreebaseTopicResult : GData.FreebaseResult {
+ [CCode (has_construct_function = false)]
+ public FreebaseTopicResult ();
+ public GData.FreebaseTopicObject dup_object ();
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", ref_function = "gdata_freebase_topic_value_ref", type_id = "gdata_freebase_topic_value_get_type ()", unref_function = "gdata_freebase_topic_value_unref")]
+ [Compact]
+ public class FreebaseTopicValue {
+ public GLib.Value copy_value ();
+ public unowned string get_creator ();
+ public double get_double ();
+ public int64 get_int ();
+ public unowned string get_language ();
+ public unowned GData.FreebaseTopicObject get_object ();
+ public unowned string get_property ();
+ public unowned string get_string ();
+ public unowned string get_text ();
+ public int64 get_timestamp ();
+ public GLib.Type get_value_type ();
+ public bool is_image ();
+ public GData.FreebaseTopicValue @ref ();
+ public void unref ();
+ }
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_gcontact_calendar_get_type ()")]
public class GContactCalendar : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
public OAuth1Authorizer.for_authorization_domains (string? application_name, GLib.List<GData.AuthorizationDomain> authorization_domains);
public unowned string get_application_name ();
public unowned string get_locale ();
+ public unowned GLib.ProxyResolver get_proxy_resolver ();
+ [Deprecated]
public Soup.URI get_proxy_uri ();
public uint get_timeout ();
public string request_authentication_uri (out string token, out string token_secret, GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool request_authorization (string token, string token_secret, string verifier, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool request_authorization_async (string token, string token_secret, string verifier, GLib.Cancellable? cancellable) throws GLib.Error;
public void set_locale (string? locale);
+ public void set_proxy_resolver (GLib.ProxyResolver? proxy_resolver);
+ [Deprecated]
public void set_proxy_uri (Soup.URI? proxy_uri);
public void set_timeout (uint timeout);
public string application_name { get; construct; }
public string locale { get; set; }
+ public GLib.ProxyResolver proxy_resolver { get; set; }
+ [Deprecated]
public Soup.URI proxy_uri { owned get; set; }
public uint timeout { get; set; }
}
public Parsable.from_xml (GLib.Type parsable_type, string xml, int length) throws GLib.Error;
[NoWrapper]
public virtual void get_json (Json.Builder builder);
+ [CCode (cname = "gdata_parsable_get_json")]
+ public string get_json_string ();
[NoWrapper]
public virtual void get_namespaces (GLib.HashTable<void*,void*> namespaces);
[NoWrapper]
public static GLib.List<weak GData.AuthorizationDomain> get_authorization_domains (GLib.Type service_type);
public unowned GData.Authorizer get_authorizer ();
public unowned string get_locale ();
+ public unowned GLib.ProxyResolver get_proxy_resolver ();
+ [Deprecated]
public unowned Soup.URI get_proxy_uri ();
public uint get_timeout ();
public GData.Entry insert_entry (GData.AuthorizationDomain? domain, string upload_uri, GData.Entry entry, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GData.Entry query_single_entry_async (GData.AuthorizationDomain? domain, string entry_id, GData.Query? query, GLib.Type entry_type, GLib.Cancellable? cancellable) throws GLib.Error;
public void set_authorizer (GData.Authorizer authorizer);
public void set_locale (string? locale);
+ public void set_proxy_resolver (GLib.ProxyResolver? proxy_resolver);
+ [Deprecated]
public void set_proxy_uri (Soup.URI? proxy_uri);
public void set_timeout (uint timeout);
public GData.Entry update_entry (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GData.Entry update_entry_async (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable) throws GLib.Error;
public GData.Authorizer authorizer { get; set; }
public string locale { get; set; }
+ public GLib.ProxyResolver proxy_resolver { get; set; }
+ [Deprecated]
public Soup.URI proxy_uri { get; set; }
public uint timeout { get; set; }
}
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_tasks_query_get_type ()")]
+ public class TasksQuery : GData.Query {
+ [CCode (has_construct_function = false)]
+ public TasksQuery (string? q);
+ public int64 get_completed_max ();
+ public int64 get_completed_min ();
+ public int64 get_due_max ();
+ public int64 get_due_min ();
+ public bool get_show_completed ();
+ public bool get_show_deleted ();
+ public bool get_show_hidden ();
+ public void set_completed_max (int64 completed_max);
+ public void set_completed_min (int64 completed_min);
+ public void set_due_max (int64 due_max);
+ public void set_due_min (int64 due_min);
+ public void set_show_completed (bool show_completed);
+ public void set_show_deleted (bool show_deleted);
+ public void set_show_hidden (bool show_hidden);
+ public int64 completed_max { get; set; }
+ public int64 completed_min { get; set; }
+ public int64 due_max { get; set; }
+ public int64 due_min { get; set; }
+ public bool show_completed { get; set; }
+ public bool show_deleted { get; set; }
+ public bool show_hidden { get; set; }
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_tasks_service_get_type ()")]
+ public class TasksService : GData.Service {
+ [CCode (has_construct_function = false)]
+ public TasksService (GData.Authorizer? authorizer);
+ public bool delete_task (GData.TasksTask task, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async void delete_task_async (GData.TasksTask task, GLib.Cancellable? cancellable);
+ public bool delete_tasklist (GData.TasksTasklist tasklist, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async void delete_tasklist_async (GData.TasksTasklist tasklist, GLib.Cancellable? cancellable);
+ public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
+ public GData.TasksTask insert_task (GData.TasksTask task, GData.TasksTasklist tasklist, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async void insert_task_async (GData.TasksTask task, GData.TasksTasklist tasklist, GLib.Cancellable? cancellable);
+ public GData.TasksTasklist insert_tasklist (GData.TasksTasklist tasklist, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async void insert_tasklist_async (GData.TasksTasklist tasklist, GLib.Cancellable? cancellable);
+ public GData.Feed query_all_tasklists (GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ public async void query_all_tasklists_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
+ public GData.Feed query_tasks (GData.TasksTasklist tasklist, GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+ public async void query_tasks_async (GData.TasksTasklist tasklist, GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
+ public GData.TasksTask update_task (GData.TasksTask task, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async void update_task_async (GData.TasksTask task, GLib.Cancellable? cancellable);
+ public GData.TasksTasklist update_tasklist (GData.TasksTasklist tasklist, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async void update_tasklist_async (GData.TasksTasklist tasklist, GLib.Cancellable? cancellable);
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_tasks_task_get_type ()")]
+ public class TasksTask : GData.Entry {
+ [CCode (has_construct_function = false)]
+ public TasksTask (string? id);
+ public int64 get_completed ();
+ public int64 get_due ();
+ public unowned string get_notes ();
+ public unowned string get_parent ();
+ public unowned string get_position ();
+ public unowned string get_status ();
+ public void set_completed (int64 completed);
+ public void set_due (int64 due);
+ public void set_is_deleted (bool deleted);
+ public void set_notes (string? notes);
+ public void set_status (string? status);
+ public int64 completed { get; set; }
+ public int64 due { get; set; }
+ [NoAccessorMethod]
+ public bool is_deleted { get; set; }
+ [NoAccessorMethod]
+ public bool is_hidden { get; }
+ public string notes { get; set; }
+ public string parent { get; }
+ public string position { get; }
+ public string status { get; set; }
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_tasks_tasklist_get_type ()")]
+ public class TasksTasklist : GData.Entry {
+ [CCode (has_construct_function = false)]
+ public TasksTasklist (string? id);
+ }
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_upload_stream_get_type ()")]
public class UploadStream : GLib.OutputStream {
[CCode (has_construct_function = false, type = "GOutputStream*")]
UPDATE,
DELETION
}
+ [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_FREEBASE_SEARCH_FILTER_", type_id = "gdata_freebase_search_filter_type_get_type ()")]
+ public enum FreebaseSearchFilterType {
+ ALL,
+ ANY,
+ NOT
+ }
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_MEDIA_EXPRESSION_", type_id = "gdata_media_expression_get_type ()")]
public enum MediaExpression {
SAMPLE,
public const string LINK_EDIT_MEDIA;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_ENCLOSURE")]
public const string LINK_ENCLOSURE;
+ [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_PARENT")]
+ public const string LINK_PARENT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_RELATED")]
public const string LINK_RELATED;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_RESUMABLE_CREATE_MEDIA")]
public void set_app_name (string app_name);
public void set_category (string category);
public void set_hint (string key, GLib.Variant? value);
- [Deprecated]
+ [Deprecated (since = "0.6.")]
public void set_hint_byte (string key, [CCode (type = "guchar")] uchar value);
- [Deprecated]
+ [Deprecated (since = "0.6.")]
public void set_hint_byte_array (string key, [CCode (array_length_cname = "len", array_length_pos = 2.1, array_length_type = "gsize")] uchar[] value);
- [Deprecated]
+ [Deprecated (since = "0.6.")]
public void set_hint_double (string key, double value);
- [Deprecated]
+ [Deprecated (since = "0.6.")]
public void set_hint_int32 (string key, int value);
- [Deprecated]
+ [Deprecated (since = "0.6.")]
public void set_hint_string (string key, string value);
- [Deprecated]
+ [Deprecated (since = "0.6.")]
public void set_hint_uint32 (string key, uint value);
[Deprecated]
public void set_icon_from_pixbuf (Gdk.Pixbuf icon);
[CCode (cheader_filename = "libpeas/peas.h", type_id = "peas_extension_set_get_type ()")]
public class ExtensionSet : GLib.Object {
[CCode (has_construct_function = false)]
- public ExtensionSet (Peas.Engine engine, GLib.Type exten_type, ...);
+ public ExtensionSet (Peas.Engine? engine, GLib.Type exten_type, ...);
[NoWrapper]
public virtual bool call (string method_name, GI.Argument args);
public void @foreach (Peas.ExtensionSetForeachFunc func);
public Handle.with_flags (Rsvg.HandleFlags flags);
public bool write ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
public string base_uri { get; set construct; }
- [Deprecated]
+ [Deprecated (since = "2.36")]
[NoAccessorMethod]
public string desc { owned get; }
[NoAccessorMethod]
public Rsvg.HandleFlags flags { get; construct; }
[NoAccessorMethod]
public int height { get; }
- [Deprecated]
+ [Deprecated (since = "2.36")]
[NoAccessorMethod]
public string metadata { owned get; }
- [Deprecated]
+ [Deprecated (since = "2.36")]
[NoAccessorMethod]
public string title { owned get; }
[NoAccessorMethod]
[CCode (cheader_filename = "libsoup/soup.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "soup_client_context_get_type ()")]
[Compact]
public class ClientContext {
+ [Deprecated]
public unowned Soup.Address get_address ();
public unowned Soup.AuthDomain get_auth_domain ();
public unowned string get_auth_user ();
+ public unowned GLib.Socket get_gsocket ();
public unowned string get_host ();
+ public unowned GLib.SocketAddress get_local_address ();
+ public unowned GLib.SocketAddress get_remote_address ();
+ [Deprecated]
public unowned Soup.Socket get_socket ();
}
[CCode (cheader_filename = "libsoup/soup.h")]
public void set_http_version (Soup.HTTPVersion version);
public void set_priority (Soup.MessagePriority priority);
public void set_redirect (uint status_code, string redirect_uri);
- public void set_request (string content_type, Soup.MemoryUse req_use, [CCode (array_length_cname = "req_length", array_length_pos = 3.1, array_length_type = "gsize", type = "const char*")] uint8[] req_body);
- public void set_response (string? content_type, Soup.MemoryUse resp_use, [CCode (array_length_cname = "resp_length", array_length_pos = 3.1, array_length_type = "gsize")] uint8[] resp_body);
+ public void set_request (string? content_type, Soup.MemoryUse req_use, [CCode (array_length_cname = "req_length", array_length_pos = 3.1, array_length_type = "gsize")] uint8[] req_body);
+ public void set_response (string? content_type, Soup.MemoryUse resp_use, [CCode (array_length_cname = "resp_length", array_length_pos = 3.1, array_length_type = "gsize")] uint8[]? resp_body);
public void set_status (uint status_code);
public void set_status_full (uint status_code, string reason_phrase);
public void set_uri (Soup.URI uri);
public void add_auth_domain (Soup.AuthDomain auth_domain);
public void add_handler (string? path, owned Soup.ServerCallback callback);
public void disconnect ();
+ [Deprecated]
public unowned GLib.MainContext get_async_context ();
+ [Deprecated]
public unowned Soup.Socket get_listener ();
+ public GLib.SList<weak GLib.Socket> get_listeners ();
+ [Deprecated]
public uint get_port ();
+ public GLib.SList<Soup.URI> get_uris ();
public bool is_https ();
+ public bool listen (GLib.SocketAddress @interface, Soup.ServerListenOptions options) throws GLib.Error;
+ public bool listen_all (uint port, Soup.ServerListenOptions options) throws GLib.Error;
+ public bool listen_fd (int fd, Soup.ServerListenOptions options) throws GLib.Error;
+ public bool listen_local (uint port, Soup.ServerListenOptions options) throws GLib.Error;
+ public bool listen_socket (GLib.Socket socket, Soup.ServerListenOptions options) throws GLib.Error;
public void pause_message (Soup.Message msg);
+ [Deprecated]
public void quit ();
public void remove_auth_domain (Soup.AuthDomain auth_domain);
public void remove_handler (string path);
+ [Deprecated]
public void run ();
+ [Deprecated]
public void run_async ();
+ public bool set_ssl_cert_file (string ssl_cert_file, string ssl_key_file) throws GLib.Error;
public void unpause_message (Soup.Message msg);
+ [Deprecated]
public GLib.MainContext async_context { get; owned construct; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
public string[] https_aliases { owned get; set; }
+ [Deprecated]
[NoAccessorMethod]
public Soup.Address @interface { owned get; construct; }
+ [Deprecated]
public uint port { get; construct; }
[NoAccessorMethod]
public bool raw_paths { get; construct; }
[NoAccessorMethod]
public string server_header { owned get; set construct; }
+ [Deprecated]
[NoAccessorMethod]
public string ssl_cert_file { owned get; construct; }
+ [Deprecated]
[NoAccessorMethod]
public string ssl_key_file { owned get; construct; }
[NoAccessorMethod]
public uint timeout { get; set; }
[NoAccessorMethod]
public GLib.TlsDatabase tls_database { owned get; set; }
+ [NoAccessorMethod]
+ public GLib.TlsInteraction tls_interaction { owned get; set; }
[Deprecated]
[NoAccessorMethod]
public bool use_ntlm { get; set; }
public SessionSync.with_options (string optname1, ...);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_socket_get_type ()")]
- public class Socket : GLib.Object {
+ public class Socket : GLib.Object, GLib.Initable {
[CCode (has_construct_function = false)]
public Socket (string optname1, ...);
public void connect_async (GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.SocketCallback callback);
public Soup.SocketIOStatus write ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gsize", type = "gconstpointer")] uint8[] buffer, out size_t nwrote, GLib.Cancellable? cancellable = null) throws GLib.Error;
[NoAccessorMethod]
public GLib.MainContext async_context { owned get; construct; }
- public bool clean_dispose { construct; }
+ [NoAccessorMethod]
+ public bool close_on_dispose { get; set construct; }
+ public int fd { get; construct; }
+ public GLib.Socket gsocket { construct; }
+ [NoAccessorMethod]
+ public bool ipv6_only { get; set; }
[NoAccessorMethod]
public bool is_server { get; }
public Soup.Address local_address { get; construct; }
[NoAccessorMethod]
public bool non_blocking { get; set; }
- [NoAccessorMethod]
- public GLib.ProxyResolver proxy_resolver { owned get; construct; }
public Soup.Address remote_address { get; construct; }
[NoAccessorMethod]
public void* ssl_creds { get; set; }
}
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupProxyURIResolverInterface", type_id = "soup_proxy_uri_resolver_get_type ()")]
public interface ProxyURIResolver : Soup.SessionFeature, GLib.Object {
- [Deprecated]
public abstract void get_proxy_uri_async (Soup.URI uri, GLib.MainContext? async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.ProxyURIResolverCallback callback);
- [Deprecated]
public abstract uint get_proxy_uri_sync (Soup.URI uri, GLib.Cancellable? cancellable, out Soup.URI proxy_uri);
}
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupSessionFeatureInterface", type_id = "soup_session_feature_get_type ()")]
HIGH,
VERY_HIGH
}
+ [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_SERVER_LISTEN_", type_id = "soup_server_listen_options_get_type ()")]
+ [Flags]
+ public enum ServerListenOptions {
+ HTTPS,
+ IPV4_ONLY,
+ IPV6_ONLY
+ }
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_SOCKET_", type_id = "soup_socket_io_status_get_type ()")]
public enum SocketIOStatus {
OK,
public const string MESSAGE_REASON_PHRASE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_REQUEST_BODY")]
public const string MESSAGE_REQUEST_BODY;
+ [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_REQUEST_BODY_DATA")]
+ public const string MESSAGE_REQUEST_BODY_DATA;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_REQUEST_HEADERS")]
public const string MESSAGE_REQUEST_HEADERS;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_RESPONSE_BODY")]
public const string MESSAGE_RESPONSE_BODY;
+ [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_RESPONSE_BODY_DATA")]
+ public const string MESSAGE_RESPONSE_BODY_DATA;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_RESPONSE_HEADERS")]
public const string MESSAGE_RESPONSE_HEADERS;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_SERVER_SIDE")]
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_REQUEST_URI")]
public const string REQUEST_URI;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_ASYNC_CONTEXT")]
+ [Deprecated]
public const string SERVER_ASYNC_CONTEXT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_H")]
public const int SERVER_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_HTTP_ALIASES")]
public const string SERVER_HTTP_ALIASES;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_INTERFACE")]
+ [Deprecated]
public const string SERVER_INTERFACE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_PORT")]
+ [Deprecated]
public const string SERVER_PORT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_RAW_PATHS")]
public const string SERVER_RAW_PATHS;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_SERVER_HEADER")]
public const string SERVER_SERVER_HEADER;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_SSL_CERT_FILE")]
+ [Deprecated]
public const string SERVER_SSL_CERT_FILE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_SSL_KEY_FILE")]
+ [Deprecated]
public const string SERVER_SSL_KEY_FILE;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SERVER_TLS_CERTIFICATE")]
public const string SERVER_TLS_CERTIFICATE;
public const string SESSION_TIMEOUT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_TLS_DATABASE")]
public const string SESSION_TLS_DATABASE;
+ [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_TLS_INTERACTION")]
+ public const string SESSION_TLS_INTERACTION;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_USER_AGENT")]
public const string SESSION_USER_AGENT;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_USE_NTLM")]
public class Screen : GLib.Object {
[CCode (has_construct_function = false)]
protected Screen ();
- [Deprecated]
+ [Deprecated (since = "2.20")]
public void calc_workspace_layout (int num_workspaces, int space_index, Wnck.WorkspaceLayout layout);
public void change_workspace_count (int count);
public void force_update ();
- [Deprecated]
+ [Deprecated (since = "2.20")]
public static void free_workspace_layout (Wnck.WorkspaceLayout layout);
public static unowned Wnck.Screen @get (int index);
public unowned Wnck.Window get_active_window ();
public static Wnck.ResourceUsage xid_read (Gdk.Display gdk_display, ulong xid);
}
[CCode (cheader_filename = "libwnck/libwnck.h", has_type_id = false)]
- [Deprecated]
+ [Deprecated (since = "2.20")]
public struct WorkspaceLayout {
public int rows;
public int cols;
public static Atk.StateType type_register (string name);
}
public interface Text : GLib.Object {
+ [CCode (array_length = false, array_null_terminated = true, cname = "atk_text_get_bounded_ranges")]
+ public virtual Atk.TextRange[] get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type);
[Deprecated (replacement = "TextAttribute.for_name", since = "vala-0.16")]
public static Atk.TextAttribute attribute_for_name (string name);
[Deprecated (replacement = "TextAttribute.get_name", since = "vala-0.16")]
// G-I doesn't distinguish between abstract and virtual
Document.*#virtual_method virtual
-Text.get_bounded_ranges#virtual_method virtual
// Can't document callback fields
-Text.get_bounded_ranges#virtual_method array array_null_terminated unowned=false
+Text.get_bounded_ranges skip
// Callbacks without user data
add_focus_tracker skip=false
Cache.interfaces skip
+DeviceEvent struct
+
DeviceListener
.new_simple skip=false
CONTACTS_GENDER_* name="CONTACTS_GENDER_(.+)" parent="GData.ContactsGender"
CONTACTS_GROUP_* name="CONTACTS_GROUP_(.+)" parent="GData.ContactsGroupType"
CONTACTS_PRIORITY_* name="CONTACTS_PRIORITY_(.+)" parent="GData.ContactsPriority"
-CONTACTS_SENSITIVITY_* name="CONTACTS_SENSITIVITY_(.+)" parent="GData.ContactsSensitivity"
\ No newline at end of file
+CONTACTS_SENSITIVITY_* name="CONTACTS_SENSITIVITY_(.+)" parent="GData.ContactsSensitivity"
+
+Parsable.get_json#method name="get_json_string"
\ No newline at end of file
.change_state type="GLib.SimpleActionChangeStateCallback"
ActionGroup
.query_action#virtual_method virtual
-Application.add_main_option_entries
- .entries array array_null_terminated
Application.handle_local_options#virtual_method skip=false
Application.local_command_line
.arguments ref type="unowned string[]"
namespace Gst {
namespace Video {
+ [CCode (cheader_filename = "gst/video/video.h")]
+ [Compact]
+ [GIR (name = "VideoChromaResample")]
+ public class ChromaResample {
+ public ChromaResample (Gst.Video.ChromaMethod method, Gst.Video.ChromaSite site, Gst.Video.ChromaFlags flags, Gst.Video.Format format, int h_factor, int v_factor);
+ public void free ();
+ public void get_info (uint n_lines, int offset);
+ [CCode (cname = "gst_video_chroma_resample")]
+ public void resample (void* lines, int width);
+ }
+
[CCode (cheader_filename = "gst/video/gstvideoutils.h", ref_function = "gst_video_codec_frame_ref", type_id = "gst_video_codec_frame_get_type ()", unref_function = "gst_video_codec_frame_unref")]
[Compact]
[GIR (name = "VideoCodecFrame")]
namespace Json {
- [CCode (cheader_filename = "json-glib/json-glib.h")]
- public const int MAJOR_VERSION;
- [CCode (cheader_filename = "json-glib/json-glib.h")]
- public const int MICRO_VERSION;
- [CCode (cheader_filename = "json-glib/json-glib.h")]
- public const int MINOR_VERSION;
[CCode (cheader_filename = "json-glib/json-glib.h")]
public const int VERSION_HEX;
- [CCode (cheader_filename = "json-glib/json-glib.h")]
- public const string VERSION_S;
}
DistroUpgradeEnum name="DistroUpgradeEnum"
ErrorEnum name="ErrorEnum"
-MessageEnum name="MessageEnum"
.upload skip=false
.async skip=false name="run_async"
.async.weak_object nullable default=null
+ .cancel skip=false
MemoryUse cheader_filename="rest/rest-param.h"
ProxyError cheader_filename="rest/rest-proxy.h"
ProxyCallError cheader_filename="rest/rest-proxy-call.h"
.as_string_hash_table skip=false type_arguments="string,string"
ParamsIter cheader_filename="rest/rest-params.h"
XmlNode cheader_filename="rest/rest-xml-node.h"
+ .ref skip=false
+ .unref skip=false
XmlParser cheader_filename="rest/rest-xml-parser.h"
OAuthProxyAuthCallback cheader_filename="rest/oauth-proxy.h"
.error skip
.type skip
value_* skip=false
+ProxyURIResolver
+ .get_proxy_uri_async skip=false
+ .get_proxy_uri_async.callback owned scope="async"
+ .get_proxy_uri_async.async_context nullable
+ .get_proxy_uri_sync.proxy_uri out unowned=false
// Not enough GIR information
Buffer.data type="uint8[]" array_length_field="length"
[CCode (cprefix = "Pk", gir_namespace = "PackageKitGlib", gir_version = "1.0", lower_case_cprefix = "pk_")]
namespace Pk {
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_catalog_get_type ()")]
- public class Catalog : GLib.Object {
- [CCode (has_construct_function = false)]
- public Catalog ();
- public async void lookup_async (string filename, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
- public static void test (void* user_data);
- }
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_category_get_type ()")]
public class Category : Pk.Source {
[CCode (has_construct_function = false)]
public async void adopt_async (string transaction_id, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
[NoWrapper]
public virtual void changed ();
+ public Pk.Results depends_on (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ public async void depends_on_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results download_packages ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, string directory, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void download_packages_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, string directory, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results generic_finish (GLib.AsyncResult res) throws GLib.Error;
public uint get_cache_age ();
public Pk.Results get_categories (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void get_categories_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
- public Pk.Results get_depends (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
- public async void get_depends_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results get_details ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void get_details_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
+ public Pk.Results get_details_local ([CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ public async void get_details_local_async ([CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results get_distro_upgrades (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void get_distro_upgrades_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results get_files ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void get_files_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
+ public Pk.Results get_files_local ([CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ public async void get_files_local_async ([CCode (array_length = false, array_null_terminated = true)] string[] files, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public bool get_idle ();
public bool get_interactive ();
public unowned string get_locale ();
public async Pk.Progress get_progress_async (string transaction_id, GLib.Cancellable? cancellable) throws GLib.Error;
public Pk.Results get_repo_list (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void get_repo_list_async (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
- public Pk.Results get_requires (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
- public async void get_requires_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results get_update_detail ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void get_update_detail_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results get_updates (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void repair_system_async (Pk.Bitfield transaction_flags, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results repo_enable (string repo_id, bool enabled, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void repo_enable_async (string repo_id, bool enabled, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
+ public Pk.Results repo_remove (Pk.Bitfield transaction_flags, string repo_id, bool autoremove, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ public async void repo_remove_async (Pk.Bitfield transaction_flags, string repo_id, bool autoremove, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results repo_set_data (string repo_id, string parameter, string value, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void repo_set_data_async (string repo_id, string parameter, string value, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
+ public Pk.Results required_by (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ public async void required_by_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results resolve (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] packages, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void resolve_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] packages, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results search_details (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public static void test (void* user_data);
public Pk.Results update_packages (Pk.Bitfield transaction_flags, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void update_packages_async (Pk.Bitfield transaction_flags, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
- public Pk.Results upgrade_system (string distro_id, Pk.UpgradeKind upgrade_kind, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
- public async void upgrade_system_async (string distro_id, Pk.UpgradeKind upgrade_kind, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
- public Pk.Results what_provides (Pk.Bitfield filters, Pk.Provides provides, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
- public async void what_provides_async (Pk.Bitfield filters, Pk.Provides provides, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
+ public Pk.Results what_provides (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ public async void what_provides_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public bool background { get; set; }
public uint cache_age { get; set; }
public bool idle { get; }
[NoWrapper]
public virtual void connection_changed (bool connected);
public async string get_daemon_state_async (GLib.Cancellable? cancellable) throws GLib.Error;
- public async Pk.Network get_network_state_async (GLib.Cancellable? cancellable) throws GLib.Error;
public bool get_properties (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool get_properties_async (GLib.Cancellable? cancellable) throws GLib.Error;
public async string get_tid_async (GLib.Cancellable? cancellable) throws GLib.Error;
public unowned string get_license ();
public unowned string get_package_id ();
public uint64 get_size ();
+ public unowned string get_summary ();
public unowned string get_url ();
[NoAccessorMethod]
public string description { owned get; set; }
[NoAccessorMethod]
public uint64 size { get; set; }
[NoAccessorMethod]
+ public string summary { owned get; set; }
+ [NoAccessorMethod]
public string url { owned get; set; }
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_distro_upgrade_get_type ()")]
[CCode (has_construct_function = false)]
public Files ();
[CCode (array_length = false, array_null_terminated = true)]
+ public unowned string[] get_files ();
+ public unowned string get_package_id ();
+ [CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
public string[] files { owned get; set; }
[NoAccessorMethod]
[NoAccessorMethod]
public uint media_type { get; set; }
}
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_message_get_type ()")]
- public class Message : Pk.Source {
- [CCode (has_construct_function = false)]
- public Message ();
- public unowned string get_details ();
- public Pk.MessageEnum get_kind ();
- [NoAccessorMethod]
- public string details { owned get; set; }
- [NoAccessorMethod]
- public uint type { get; set; }
- }
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_package_get_type ()")]
public class Package : Pk.Source {
[CCode (has_construct_function = false)]
public bool parse (string data) throws GLib.Error;
public void print ();
public bool set_id (string package_id) throws GLib.Error;
+ public void set_info (Pk.Info info);
+ public void set_summary (string summary);
public static void test (void* user_data);
[NoAccessorMethod]
public string description { owned get; set; }
[NoAccessorMethod]
public uint group { get; set; }
- [NoAccessorMethod]
public uint info { get; set; }
[NoAccessorMethod]
public string license { owned get; set; }
public string package_id { owned get; }
[NoAccessorMethod]
public uint64 size { get; set; }
- [NoAccessorMethod]
- public string summary { owned get; set; }
+ public string summary { get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
public string[] update_bugzilla_urls { owned get; set; }
public Pk.PackageSack filter (Pk.PackageSackFilterFunc filter_cb);
public Pk.PackageSack filter_by_info (Pk.Info info);
public Pk.Package find_by_id (string package_id);
+ public Pk.Package find_by_id_name_arch (string package_id);
public GLib.GenericArray<weak Pk.Package> get_array ();
public bool get_details (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async void get_details_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public class RepoDetail : Pk.Source {
[CCode (has_construct_function = false)]
public RepoDetail ();
+ public unowned string get_description ();
+ public bool get_enabled ();
+ public unowned string get_id ();
[NoAccessorMethod]
public string description { owned get; set; }
[NoAccessorMethod]
public bool add_eula_required (Pk.EulaRequired item);
public bool add_files (Pk.Files item);
public bool add_media_change_required (Pk.MediaChangeRequired item);
- public bool add_message (Pk.Message item);
public bool add_package (Pk.Package item);
public bool add_repo_detail (Pk.RepoDetail item);
public bool add_repo_signature_required (Pk.RepoSignatureRequired item);
public Pk.Exit get_exit_code ();
public GLib.GenericArray<weak Pk.Files> get_files_array ();
public GLib.GenericArray<weak Pk.MediaChangeRequired> get_media_change_required_array ();
- public GLib.GenericArray<weak Pk.Message> get_message_array ();
public GLib.GenericArray<weak Pk.Package> get_package_array ();
public Pk.PackageSack get_package_sack ();
public GLib.GenericArray<weak Pk.RepoDetail> get_repo_detail_array ();
[NoAccessorMethod]
public uint64 transaction_flags { get; set; }
}
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_service_pack_get_type ()")]
- public class ServicePack : GLib.Object {
- [CCode (has_construct_function = false)]
- public ServicePack ();
- public bool check_valid (string filename) throws GLib.Error;
- public async void create_for_package_ids_async (string filename, string package_ids, string package_ids_exclude, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
- public async void create_for_updates_async (string filename, string package_ids_exclude, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
- public bool generic_finish (GLib.AsyncResult res) throws GLib.Error;
- public bool set_temp_directory (string directory);
- public static void test (void* user_data);
- }
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", type_id = "pk_source_get_type ()")]
public class Source : GLib.Object {
[CCode (has_construct_function = false)]
public class Task : Pk.Client {
[CCode (has_construct_function = false)]
public Task ();
+ public async void depends_on_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
+ public Pk.Results depends_on_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void download_packages_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, string directory, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results download_packages_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, string directory, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
[NoWrapper]
public Pk.Results generic_finish (GLib.AsyncResult res) throws GLib.Error;
public async void get_categories_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results get_categories_sync (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
- public async void get_depends_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
- public Pk.Results get_depends_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void get_details_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results get_details_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void get_files_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results get_packages_sync (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void get_repo_list_async (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results get_repo_list_sync (Pk.Bitfield filters, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
- public async void get_requires_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
- public Pk.Results get_requires_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public bool get_simulate ();
public async void get_update_detail_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results get_update_detail_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public Pk.Results refresh_cache_sync (bool force, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void remove_packages_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool allow_deps, bool autoremove, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results remove_packages_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool allow_deps, bool autoremove, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ [NoWrapper]
+ public virtual void repair_question (uint request, Pk.Results results);
public async void repair_system_async (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results repair_system_sync (GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void repo_enable_async (string repo_id, bool enabled, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results repo_enable_sync (string repo_id, bool enabled, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ public async void required_by_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
+ public Pk.Results required_by_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] package_ids, bool recursive, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void resolve_async (Pk.Bitfield filters, string packages, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results resolve_sync (Pk.Bitfield filters, string packages, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public async void search_details_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
public Pk.Results update_packages_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public bool user_accepted (uint request);
public bool user_declined (uint request);
- public async void what_provides_async (Pk.Bitfield filters, Pk.Provides provides, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
- public Pk.Results what_provides_sync (Pk.Bitfield filters, Pk.Provides provides, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ public async void what_provides_async (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
+ public Pk.Results what_provides_sync (Pk.Bitfield filters, [CCode (array_length = false, array_null_terminated = true)] string[] values, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
public bool only_download { get; set; }
public bool simulate { get; set; }
}
public static Pk.MediaType enum_from_string (string media_type);
public static unowned string enum_to_string (Pk.MediaType media_type);
}
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_MESSAGE_ENUM_", type_id = "pk_message_enum_get_type ()")]
- public enum MessageEnum {
- UNKNOWN,
- BROKEN_MIRROR,
- CONNECTION_REFUSED,
- PARAMETER_INVALID,
- PRIORITY_INVALID,
- BACKEND_ERROR,
- DAEMON_ERROR,
- CACHE_BEING_REBUILT,
- NEWER_PACKAGE_EXISTS,
- COULD_NOT_FIND_PACKAGE,
- CONFIG_FILES_CHANGED,
- PACKAGE_ALREADY_INSTALLED,
- AUTOREMOVE_IGNORED,
- REPO_METADATA_DOWNLOAD_FAILED,
- REPO_FOR_DEVELOPERS_ONLY,
- OTHER_UPDATES_HELD_BACK,
- LAST;
- public static Pk.MessageEnum from_string (string message);
- public static unowned string to_string (Pk.MessageEnum message);
- }
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkNetworkEnum", cprefix = "PK_NETWORK_ENUM_", type_id = "pk_network_enum_get_type ()")]
[GIR (name = "NetworkEnum")]
public enum Network {
TRANSACTION_FLAGS,
INVALID
}
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkProvidesEnum", cprefix = "PK_PROVIDES_ENUM_", type_id = "pk_provides_enum_get_type ()")]
- [GIR (name = "ProvidesEnum")]
- public enum Provides {
- UNKNOWN,
- ANY,
- MODALIAS,
- CODEC,
- MIMETYPE,
- FONT,
- HARDWARE_DRIVER,
- POSTSCRIPT_DRIVER,
- PLASMA_SERVICE,
- SHARED_LIB,
- PYTHON,
- LANGUAGE_SUPPORT,
- LAST;
- public static Pk.Provides enum_from_string (string provides);
- public static unowned string enum_to_string (Pk.Provides provides);
- }
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkRestartEnum", cprefix = "PK_RESTART_ENUM_", type_id = "pk_restart_enum_get_type ()")]
[GIR (name = "RestartEnum")]
public enum Restart {
public enum Role {
UNKNOWN,
CANCEL,
- GET_DEPENDS,
+ DEPENDS_ON,
GET_DETAILS,
GET_FILES,
GET_PACKAGES,
GET_REPO_LIST,
- GET_REQUIRES,
+ REQUIRED_BY,
GET_UPDATE_DETAIL,
GET_UPDATES,
INSTALL_FILES,
GET_DISTRO_UPGRADES,
GET_CATEGORIES,
GET_OLD_TRANSACTIONS,
- UPGRADE_SYSTEM,
REPAIR_SYSTEM,
+ GET_DETAILS_LOCAL,
+ GET_FILES_LOCAL,
+ REPO_REMOVE,
LAST;
public static Pk.Bitfield bitfield_from_string (string roles);
public static string bitfield_to_string (Pk.Bitfield roles);
public static Pk.UpgradeKind enum_from_string (string upgrade_kind);
public static unowned string enum_to_string (Pk.UpgradeKind upgrade_kind);
}
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_CATALOG_ERROR_")]
- public errordomain CatalogError {
- FAILED;
- public static GLib.Quark quark ();
- }
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_CLIENT_ERROR_")]
public errordomain ClientError {
FAILED,
CANNOT_START_DAEMON;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_SERVICE_PACK_ERROR_")]
- public errordomain ServicePackError {
- FAILED_SETUP,
- FAILED_DOWNLOAD,
- FAILED_EXTRACTION,
- FAILED_CREATE,
- NOTHING_TO_DO,
- NOT_COMPATIBLE;
- public static GLib.Quark quark ();
- }
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", instance_pos = 1.9)]
public delegate bool PackageSackFilterFunc (Pk.Package package);
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", instance_pos = 2.9)]
public delegate void ProgressCallback (Pk.Progress progress, Pk.ProgressType type);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PK_CATALOG_FILE_EXTENSION")]
- public const string CATALOG_FILE_EXTENSION;
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PK_CATALOG_FILE_HEADER")]
- public const string CATALOG_FILE_HEADER;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PK_DBUS_INTERFACE")]
public const string DBUS_INTERFACE;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PK_DBUS_INTERFACE_TRANSACTION")]
public const int PACKAGE_ID_NAME;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PK_PACKAGE_ID_VERSION")]
public const int PACKAGE_ID_VERSION;
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PK_SERVICE_PACK_FILE_EXTENSION")]
- public const string SERVICE_PACK_FILE_EXTENSION;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PK_SERVICE_PACK_GROUP_NAME")]
public const string SERVICE_PACK_GROUP_NAME;
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PK_SYSTEM_PACKAGE_CACHE_FILENAME")]
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
public static string iso8601_present ();
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__POINTER_UINT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__POINTER_UINT_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_BOOLEAN (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_BOXED (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_BOOLEAN (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_BOOLEAN_STRING_UINT_STRING_UINT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_BOOLEAN_UINT_UINT_STRING_UINT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_BOOLEAN (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_BOOLEAN_STRING_UINT_STRING_UINT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING_STRING_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING_UINT64 (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_STRING_UINT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_STRING_STRING_STRING_UINT64 (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_UINT_STRING_STRING_UINT64 (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_STRING_UINT_UINT_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_UINT_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__STRING_UINT_UINT_UINT_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__UINT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__UINT_STRING_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__UINT_STRING_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__UINT_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
- public static void marshal_VOID__UINT_UINT_UINT_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
public static void polkit_agent_close ();
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
public static int polkit_agent_open ();
[CCode (has_construct_function = false, type = "RestProxy*")]
public OAuthProxy (string consumer_key, string consumer_secret, string url_format, bool binding_required);
public bool access_token (string function, string verifier) throws GLib.Error;
+ public bool access_token_async (string function, string verifier, [CCode (delegate_target_pos = 4.1, scope = "async")] owned Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
public bool auth_step (string function) throws GLib.Error;
+ public bool auth_step_async (string function, [CCode (delegate_target_pos = 3.1, scope = "async")] owned Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
public unowned string get_signature_host ();
public unowned string get_token ();
public unowned string get_token_secret ();
public bool is_oauth10a ();
public Rest.Proxy new_echo_proxy (string service_url, string url_format, bool binding_required);
public bool request_token (string function, string callback_uri) throws GLib.Error;
+ public bool request_token_async (string function, string callback_uri, [CCode (delegate_target_pos = 4.1, scope = "async")] owned Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
public void set_signature_host (string signature_host);
public void set_token (string token);
public void set_token_secret (string token_secret);
[NoAccessorMethod]
public string password { owned get; set; }
[NoAccessorMethod]
+ public string ssl_ca_file { owned get; set; }
+ [NoAccessorMethod]
public bool ssl_strict { get; set; }
[NoAccessorMethod]
public string url_format { owned get; set; }
public void set_function (string function);
public void set_method (string method);
public bool sync () throws GLib.Error;
- public bool upload ([CCode (delegate_target_pos = 2.1)] Rest.ProxyCallUploadCallback callback, GLib.Object weak_object) throws GLib.Error;
+ public bool upload ([CCode (delegate_target_pos = 2.1, scope = "async")] owned Rest.ProxyCallUploadCallback callback, GLib.Object weak_object) throws GLib.Error;
[NoAccessorMethod]
public Rest.Proxy proxy { owned get; construct; }
}