Don't warn about unused internal methods which are meant to be visible on DBus
[vala-gnome.git] / vapi / clutter-gst-1.0.vapi
blob0f01840a571b097e89c24f21378e1ee79842a6ba
1 /* clutter-gst-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "ClutterGst", gir_namespace = "ClutterGst", gir_version = "1.0", lower_case_cprefix = "clutter_gst_")]
4 namespace ClutterGst {
5         namespace Version {
6                 [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_VERSION_HEX")]
7                 public const int HEX;
8                 [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_MAJOR_VERSION")]
9                 public const int MAJOR;
10                 [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_MICRO_VERSION")]
11                 public const int MICRO;
12                 [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_MINOR_VERSION")]
13                 public const int MINOR;
14                 [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_VERSION_S")]
15                 public const string STRING;
16                 [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_CHECK_VERSION")]
17                 public static bool check (int major, int minor, int micro);
18         }
19         [CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_video_sink_get_type ()")]
20         public class VideoSink : Gst.BaseSink, Gst.ImplementsInterface, Gst.Navigation {
21                 [CCode (has_construct_function = false, type = "GstElement*")]
22                 [Version (deprecated = true, deprecated_since = "1.6")]
23                 public VideoSink (Clutter.Texture texture);
24                 [NoAccessorMethod]
25                 public Clutter.Texture texture { owned get; set; }
26                 [NoAccessorMethod]
27                 public int update_priority { get; set; }
28         }
29         [CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_video_texture_get_type ()")]
30         public class VideoTexture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Media, Clutter.Scriptable, ClutterGst.Player {
31                 [CCode (has_construct_function = false, type = "ClutterActor*")]
32                 public VideoTexture ();
33                 [Version (since = "1.2")]
34                 public unowned Cogl.Handle get_idle_material ();
35                 public void set_idle_material (Cogl.Handle material);
36                 [NoAccessorMethod]
37                 public Gst.Fraction pixel_aspect_ratio { get; set; }
38         }
39         [CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
40         [Version (since = "1.4")]
41         public interface Player : Clutter.Media, GLib.Object, Clutter.Media {
42                 public static void class_init (GLib.ObjectClass object_class);
43                 public void deinit ();
44                 public abstract int get_audio_stream ();
45                 public abstract unowned GLib.List<string> get_audio_streams ();
46                 public abstract ClutterGst.BufferingMode get_buffering_mode ();
47                 public abstract bool get_idle ();
48                 [Version (since = "1.6")]
49                 public abstract bool get_in_seek ();
50                 public abstract unowned Gst.Element get_pipeline ();
51                 public abstract ClutterGst.SeekFlags get_seek_flags ();
52                 public abstract int get_subtitle_track ();
53                 public abstract unowned GLib.List<string> get_subtitle_tracks ();
54                 public abstract string get_user_agent ();
55                 public bool init ();
56                 public abstract void set_audio_stream (int index_);
57                 public abstract void set_buffering_mode (ClutterGst.BufferingMode mode);
58                 public abstract void set_seek_flags (ClutterGst.SeekFlags flags);
59                 public abstract void set_subtitle_track (int index_);
60                 public abstract void set_user_agent (string user_agent);
61                 public abstract int audio_stream { get; set; }
62                 public abstract void* audio_streams { get; }
63                 public abstract bool idle { get; }
64                 public abstract Cogl.Handle idle_material { get; set; }
65                 [Version (since = "1.6")]
66                 public abstract bool in_seek { get; }
67                 public abstract ClutterGst.SeekFlags seek_flags { get; set; }
68                 public abstract int subtitle_track { get; set; }
69                 public abstract void* subtitle_tracks { get; }
70                 public abstract string user_agent { owned get; set; }
71                 public virtual signal void download_buffering (double start, double stop);
72         }
73         [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_BUFFERING_MODE_", type_id = "clutter_gst_buffering_mode_get_type ()")]
74         [Version (since = "1.4")]
75         public enum BufferingMode {
76                 STREAM,
77                 DOWNLOAD
78         }
79         [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_SEEK_FLAG_", type_id = "clutter_gst_seek_flags_get_type ()")]
80         [Flags]
81         [Version (since = "1.4")]
82         public enum SeekFlags {
83                 NONE,
84                 ACCURATE
85         }
86         [CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
87         public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
88         [CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
89         [Version (since = "1.0")]
90         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;
91         [CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
92         [Version (since = "1.4")]
93         public static void player_class_init (GLib.ObjectClass object_class);