Commit ac33d2d5 authored by Luca Bruno's avatar Luca Bruno

Regenerate all bindings with [Version]

parent 238196ec
This diff is collapsed.
......@@ -16,7 +16,7 @@ namespace Atspi {
[CCode (has_construct_function = false)]
protected Accessible ();
public void clear_cache ();
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Action get_action ();
public Atspi.Action get_action_iface ();
public Atspi.Accessible get_application () throws GLib.Error;
......@@ -25,25 +25,25 @@ namespace Atspi {
public GLib.Array<string> get_attributes_as_array () throws GLib.Error;
public Atspi.Accessible get_child_at_index (int child_index) throws GLib.Error;
public int get_child_count () throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Collection get_collection ();
public Atspi.Collection get_collection_iface ();
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Component get_component ();
public Atspi.Component get_component_iface ();
public string get_description () throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Document get_document ();
public Atspi.Document get_document_iface ();
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.EditableText get_editable_text ();
public Atspi.EditableText get_editable_text_iface ();
public Atspi.Hyperlink get_hyperlink ();
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Hypertext get_hypertext ();
public Atspi.Hypertext get_hypertext_iface ();
public int get_id () throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Image get_image ();
public Atspi.Image get_image_iface ();
public int get_index_in_parent () throws GLib.Error;
......@@ -56,20 +56,20 @@ namespace Atspi {
public GLib.Array<Atspi.Relation> get_relation_set () throws GLib.Error;
public Atspi.Role get_role () throws GLib.Error;
public string get_role_name () throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Selection get_selection ();
public Atspi.Selection get_selection_iface ();
public Atspi.StateSet get_state_set ();
[Deprecated (since = "2.10")]
[Version (deprecated = true, 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")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Text get_text ();
public Atspi.Text get_text_iface ();
public string get_toolkit_name () throws GLib.Error;
public string get_toolkit_version () throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Value get_value ();
public Atspi.Value get_value_iface ();
public void set_cache_mask (Atspi.Cache mask);
......@@ -217,12 +217,12 @@ namespace Atspi {
public bool do_action (int i) throws GLib.Error;
public string get_action_description (int i) throws GLib.Error;
public string get_action_name (int i) throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public string get_description (int i) throws GLib.Error;
public string get_key_binding (int i) throws GLib.Error;
public string get_localized_name (int i) throws GLib.Error;
public int get_n_actions () throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public string get_name (int i) throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_collection_get_type ()")]
......@@ -250,9 +250,9 @@ namespace Atspi {
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_document_get_type ()")]
public interface Document : GLib.Object {
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public string get_attribute_value (string attribute) throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, 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;
......@@ -338,9 +338,9 @@ namespace Atspi {
public interface Text : GLib.Object {
public bool add_selection (int start_offset, int end_offset) throws GLib.Error;
public GLib.HashTable<string,string> get_attribute_run (int offset, bool include_defaults, out int start_offset, out int end_offset) throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public string? get_attribute_value (int offset, string attribute_name) throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public GLib.HashTable<string,string> get_attributes (int offset, out int start_offset, out int end_offset) throws GLib.Error;
public GLib.Array<Atspi.TextRange> get_bounded_ranges (int x, int y, int width, int height, Atspi.CoordType type, Atspi.TextClipType clipTypeX, Atspi.TextClipType clipTypeY) throws GLib.Error;
public int get_caret_offset () throws GLib.Error;
......@@ -352,10 +352,11 @@ namespace Atspi {
public int get_offset_at_point (int x, int y, Atspi.CoordType type) throws GLib.Error;
public Atspi.Rect get_range_extents (int start_offset, int end_offset, Atspi.CoordType type) throws GLib.Error;
public Atspi.Range get_selection (int selection_num) throws GLib.Error;
[Version (since = "2.9.90")]
public Atspi.TextRange get_string_at_offset (int offset, Atspi.TextGranularity granularity) throws GLib.Error;
public string get_text (int start_offset, int end_offset) throws GLib.Error;
public Atspi.TextRange get_text_after_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
[Deprecated (since = "2.10")]
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.TextRange get_text_at_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
public string? get_text_attribute_value (int offset, string attribute_name) throws GLib.Error;
public GLib.HashTable<string,string> get_text_attributes (int offset, out int start_offset, out int end_offset) throws GLib.Error;
......
......@@ -20,7 +20,7 @@
* Jürg Billeter <j@bitron.ch>
*/
[Deprecated (since = "vala-0.26", replacement = "bindings distributed with vala-extra-vapis")]
[Version (deprecated_since = "vala-0.26", replacement = "bindings distributed with vala-extra-vapis")]
namespace Cairo {
[Compact]
[CCode (cname = "cairo_surface_t", cheader_filename = "cairo-xcb.h")]
......
This diff is collapsed.
......@@ -3,19 +3,26 @@
[CCode (cprefix = "ClutterGdk", gir_namespace = "ClutterGdk", gir_version = "1.0", lower_case_cprefix = "clutter_gdk_")]
namespace ClutterGdk {
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "1.10")]
public static void disable_event_retrieval ();
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "0.6")]
public static unowned Gdk.Display get_default_display ();
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "1.10")]
public static unowned Clutter.Stage get_stage_from_window (Gdk.Window window);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "1.10")]
public static unowned Gdk.Window get_stage_window (Clutter.Stage stage);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "1.22")]
public static unowned Gdk.Visual get_visual ();
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
public static Gdk.FilterReturn handle_event (Gdk.Event event);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "0.8")]
public static void set_display (Gdk.Display display);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "1.10")]
public static bool set_stage_foreign (Clutter.Stage stage, Gdk.Window window);
}
......@@ -19,7 +19,7 @@ namespace ClutterGst {
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_video_sink_get_type ()")]
public class VideoSink : Gst.BaseSink, Gst.ImplementsInterface, Gst.Navigation {
[CCode (has_construct_function = false, type = "GstElement*")]
[Deprecated (since = "1.6")]
[Version (deprecated = true, deprecated_since = "1.6")]
public VideoSink (Clutter.Texture texture);
[NoAccessorMethod]
public Clutter.Texture texture { owned get; set; }
......@@ -30,12 +30,14 @@ namespace ClutterGst {
public class VideoTexture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Media, Clutter.Scriptable, ClutterGst.Player {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public VideoTexture ();
[Version (since = "1.2")]
public unowned Cogl.Handle get_idle_material ();
public void set_idle_material (Cogl.Handle material);
[NoAccessorMethod]
public Gst.Fraction pixel_aspect_ratio { get; set; }
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
[Version (since = "1.4")]
public interface Player : Clutter.Media, GLib.Object, Clutter.Media {
public static void class_init (GLib.ObjectClass object_class);
public void deinit ();
......@@ -43,6 +45,7 @@ namespace ClutterGst {
public abstract unowned GLib.List<string> get_audio_streams ();
public abstract ClutterGst.BufferingMode get_buffering_mode ();
public abstract bool get_idle ();
[Version (since = "1.6")]
public abstract bool get_in_seek ();
public abstract unowned Gst.Element get_pipeline ();
public abstract ClutterGst.SeekFlags get_seek_flags ();
......@@ -59,6 +62,7 @@ namespace ClutterGst {
public abstract void* audio_streams { get; }
public abstract bool idle { get; }
public abstract Cogl.Handle idle_material { get; set; }
[Version (since = "1.6")]
public abstract bool in_seek { get; }
public abstract ClutterGst.SeekFlags seek_flags { get; set; }
public abstract int subtitle_track { get; set; }
......@@ -67,12 +71,14 @@ namespace ClutterGst {
public virtual signal void download_buffering (double start, double stop);
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_BUFFERING_MODE_", type_id = "clutter_gst_buffering_mode_get_type ()")]
[Version (since = "1.4")]
public enum BufferingMode {
STREAM,
DOWNLOAD
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_SEEK_FLAG_", type_id = "clutter_gst_seek_flags_get_type ()")]
[Flags]
[Version (since = "1.4")]
public enum SeekFlags {
NONE,
ACCURATE
......@@ -80,7 +86,9 @@ namespace ClutterGst {
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
[Version (since = "1.0")]
public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, GLib.OptionEntry entries, string translation_domain) throws GLib.Error;
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
[Version (since = "1.4")]
public static void player_class_init (GLib.ObjectClass object_class);
}
......@@ -19,7 +19,7 @@ namespace ClutterGst {
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_video_sink_get_type ()")]
public class VideoSink : Gst.Base.Sink, Gst.Video.Navigation {
[CCode (has_construct_function = false, type = "GstElement*")]
[Deprecated (since = "1.6")]
[Version (deprecated = true, deprecated_since = "1.6")]
public VideoSink (Clutter.Texture texture);
[NoAccessorMethod]
public Clutter.Texture texture { owned get; set; }
......@@ -30,12 +30,15 @@ namespace ClutterGst {
public class VideoTexture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Media, Clutter.Scriptable, ClutterGst.Player {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public VideoTexture ();
[Version (since = "1.2")]
public unowned Cogl.Handle get_idle_material ();
[Version (since = "1.2")]
public void set_idle_material (Cogl.Handle material);
[NoAccessorMethod]
public Gst.Fraction pixel_aspect_ratio { owned get; set; }
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
[Version (since = "1.4")]
public interface Player : Clutter.Media, GLib.Object, Clutter.Media {
public static void class_init (GLib.ObjectClass object_class);
public void deinit ();
......@@ -43,6 +46,7 @@ namespace ClutterGst {
public abstract unowned GLib.List<string> get_audio_streams ();
public abstract ClutterGst.BufferingMode get_buffering_mode ();
public abstract bool get_idle ();
[Version (since = "1.6")]
public abstract bool get_in_seek ();
public abstract unowned Gst.Element get_pipeline ();
public abstract ClutterGst.SeekFlags get_seek_flags ();
......@@ -59,6 +63,7 @@ namespace ClutterGst {
public abstract void* audio_streams { get; }
public abstract bool idle { get; }
public abstract Cogl.Handle idle_material { get; set; }
[Version (since = "1.6")]
public abstract bool in_seek { get; }
public abstract ClutterGst.SeekFlags seek_flags { get; set; }
public abstract int subtitle_track { get; set; }
......@@ -67,12 +72,14 @@ namespace ClutterGst {
public virtual signal void download_buffering (double start, double stop);
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_BUFFERING_MODE_", type_id = "clutter_gst_buffering_mode_get_type ()")]
[Version (since = "1.4")]
public enum BufferingMode {
STREAM,
DOWNLOAD
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_SEEK_FLAG_", type_id = "clutter_gst_seek_flags_get_type ()")]
[Flags]
[Version (since = "1.4")]
public enum SeekFlags {
NONE,
ACCURATE
......@@ -80,7 +87,9 @@ namespace ClutterGst {
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
[Version (since = "1.0")]
public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, GLib.OptionEntry entries, string translation_domain) throws GLib.Error;
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
[Version (since = "1.4")]
public static void player_class_init (GLib.ObjectClass object_class);
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* gconf-2.0.vapi generated by vapigen, do not modify. */
[Deprecated (replacement = "GLib.Settings")]
[Version (replacement = "GLib.Settings")]
namespace GConf {
[CCode (cheader_filename = "gconf/gconf.h", ref_function = "gconf_change_set_ref", ref_function_void = true, type_id = "gconf_change_set_get_type ()", unref_function = "gconf_change_set_unref")]
[Compact]
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* gdk-x11-2.0.vapi generated by vapigen, do not modify. */
[Deprecated (replacement = "gdk-x11-3.0")]
[Version (replacement = "gdk-x11-3.0")]
namespace Gdk {
[CCode (cheader_filename = "gdk/gdkx.h")]
public static X.Atom x11_atom_to_xatom (Gdk.Atom atom);
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment