gtk+-4.0: Update to 3.94.0+4e868584
[vala-gnome.git] / vapi / clutter-gst-2.0.vapi
blobd84489cfd3e6c862c2487ff83b32281edadb5593
1 /* clutter-gst-2.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "ClutterGst", gir_namespace = "ClutterGst", gir_version = "2.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.Base.Sink, Gst.Video.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                 [Version (since = "1.2")]
36                 public void set_idle_material (Cogl.Handle material);
37                 [NoAccessorMethod]
38                 public Gst.Fraction pixel_aspect_ratio { owned get; set; }
39         }
40         [CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_player_get_type ()")]
41         [Version (since = "1.4")]
42         public interface Player : Clutter.Media, GLib.Object {
43                 public static void class_init (GLib.ObjectClass object_class);
44                 public void deinit ();
45                 public abstract int get_audio_stream ();
46                 public abstract unowned GLib.List<string> get_audio_streams ();
47                 public abstract ClutterGst.BufferingMode get_buffering_mode ();
48                 public abstract bool get_idle ();
49                 [Version (since = "1.6")]
50                 public abstract bool get_in_seek ();
51                 public abstract unowned Gst.Element get_pipeline ();
52                 public abstract ClutterGst.SeekFlags get_seek_flags ();
53                 public abstract int get_subtitle_track ();
54                 public abstract unowned GLib.List<string> get_subtitle_tracks ();
55                 public abstract string get_user_agent ();
56                 public bool init ();
57                 public abstract void set_audio_stream (int index_);
58                 public abstract void set_buffering_mode (ClutterGst.BufferingMode mode);
59                 public abstract void set_seek_flags (ClutterGst.SeekFlags flags);
60                 public abstract void set_subtitle_track (int index_);
61                 public abstract void set_user_agent (string user_agent);
62                 public abstract int audio_stream { get; set; }
63                 public abstract void* audio_streams { get; }
64                 public abstract bool idle { get; }
65                 public abstract Cogl.Handle idle_material { get; set; }
66                 [Version (since = "1.6")]
67                 public abstract bool in_seek { get; }
68                 public abstract ClutterGst.SeekFlags seek_flags { get; set; }
69                 public abstract int subtitle_track { get; set; }
70                 public abstract void* subtitle_tracks { get; }
71                 public abstract string user_agent { owned get; set; }
72                 public virtual signal void download_buffering (double start, double stop);
73         }
74         [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_BUFFERING_MODE_", type_id = "clutter_gst_buffering_mode_get_type ()")]
75         [Version (since = "1.4")]
76         public enum BufferingMode {
77                 STREAM,
78                 DOWNLOAD
79         }
80         [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_SEEK_FLAG_", type_id = "clutter_gst_seek_flags_get_type ()")]
81         [Flags]
82         [Version (since = "1.4")]
83         public enum SeekFlags {
84                 NONE,
85                 ACCURATE
86         }
87         [CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
88         public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
89         [CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
90         [Version (since = "1.0")]
91         public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, [CCode (array_length = false, type = "GOptionEntry*")] GLib.OptionEntry[]? entries = null, string? translation_domain = null) throws GLib.Error;
92         [CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
93         [Version (since = "1.4")]
94         public static void player_class_init (GLib.ObjectClass object_class);