girparser: Add constructor to boxed types.
[vala-lang.git] / vapi / gstreamer-tag-0.10.vapi
blobb58a83064b45553d8cffc80a3b75ef304c899830
1 /* gstreamer-tag-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         [CCode (cheader_filename = "gst/tag/gsttagdemux.h")]
6         public class TagDemux : Gst.Element {
7                 public void* reserved;
8                 [CCode (has_construct_function = false)]
9                 protected TagDemux ();
10                 [NoWrapper]
11                 public virtual bool identify_tag (Gst.Buffer buffer, bool start_tag, out uint tag_size);
12                 [NoWrapper]
13                 public virtual unowned Gst.TagList merge_tags (Gst.TagList start_tags, Gst.TagList end_tags);
14                 [NoWrapper]
15                 public virtual Gst.TagDemuxResult parse_tag (Gst.Buffer buffer, bool start_tag, out uint tag_size, out Gst.TagList tags);
16         }
17         [CCode (cprefix = "GST_TAG_DEMUX_RESULT_", cheader_filename = "gst/tag/gsttagdemux.h")]
18         public enum TagDemuxResult {
19                 BROKEN_TAG,
20                 AGAIN,
21                 OK
22         }
23         [CCode (cprefix = "GST_TAG_IMAGE_TYPE_", cheader_filename = "gst/tag/tag.h")]
24         public enum TagImageType {
25                 NONE,
26                 UNDEFINED,
27                 FRONT_COVER,
28                 BACK_COVER,
29                 LEAFLET_PAGE,
30                 MEDIUM,
31                 LEAD_ARTIST,
32                 ARTIST,
33                 CONDUCTOR,
34                 BAND_ORCHESTRA,
35                 COMPOSER,
36                 LYRICIST,
37                 RECORDING_LOCATION,
38                 DURING_RECORDING,
39                 DURING_PERFORMANCE,
40                 VIDEO_CAPTURE,
41                 FISH,
42                 ILLUSTRATION,
43                 BAND_ARTIST_LOGO,
44                 PUBLISHER_STUDIO_LOGO
45         }
46         [CCode (cheader_filename = "gst/tag/tag.h")]
47         public const string TAG_CDDA_CDDB_DISCID;
48         [CCode (cheader_filename = "gst/tag/tag.h")]
49         public const string TAG_CDDA_CDDB_DISCID_FULL;
50         [CCode (cheader_filename = "gst/tag/tag.h")]
51         public const string TAG_CDDA_MUSICBRAINZ_DISCID;
52         [CCode (cheader_filename = "gst/tag/tag.h")]
53         public const string TAG_CDDA_MUSICBRAINZ_DISCID_FULL;
54         [CCode (cheader_filename = "gst/tag/tag.h")]
55         public const string TAG_CMML_CLIP;
56         [CCode (cheader_filename = "gst/tag/tag.h")]
57         public const string TAG_CMML_HEAD;
58         [CCode (cheader_filename = "gst/tag/tag.h")]
59         public const string TAG_CMML_STREAM;
60         [CCode (cheader_filename = "gst/tag/tag.h")]
61         public const string TAG_MUSICBRAINZ_ALBUMARTISTID;
62         [CCode (cheader_filename = "gst/tag/tag.h")]
63         public const string TAG_MUSICBRAINZ_ALBUMID;
64         [CCode (cheader_filename = "gst/tag/tag.h")]
65         public const string TAG_MUSICBRAINZ_ARTISTID;
66         [CCode (cheader_filename = "gst/tag/tag.h")]
67         public const string TAG_MUSICBRAINZ_TRACKID;
68         [CCode (cheader_filename = "gst/tag/tag.h")]
69         public const string TAG_MUSICBRAINZ_TRMID;
70         [CCode (cheader_filename = "gst/tag/tag.h")]
71         public static string tag_freeform_string_to_utf8 (string data, int size, string env_vars);
72         [CCode (cheader_filename = "gst/tag/tag.h")]
73         public static unowned string tag_from_id3_tag (string id3_tag);
74         [CCode (cheader_filename = "gst/tag/tag.h")]
75         public static unowned string tag_from_id3_user_tag (string type, string id3_user_tag);
76         [CCode (cheader_filename = "gst/tag/tag.h")]
77         public static unowned string tag_from_vorbis_tag (string vorbis_tag);
78         [CCode (cheader_filename = "gst/tag/tag.h")]
79         public static unowned string tag_get_language_code_iso_639_1 (string lang_code);
80         [CCode (cheader_filename = "gst/tag/tag.h")]
81         public static unowned string tag_get_language_code_iso_639_2B (string lang_code);
82         [CCode (cheader_filename = "gst/tag/tag.h")]
83         public static unowned string tag_get_language_code_iso_639_2T (string lang_code);
84         [CCode (cheader_filename = "gst/tag/tag.h")]
85         public static unowned string tag_get_language_codes ();
86         [CCode (cheader_filename = "gst/tag/tag.h")]
87         public static unowned string tag_get_language_name (string language_code);
88         [CCode (cheader_filename = "gst/tag/tag.h")]
89         public static uint tag_id3_genre_count ();
90         [CCode (cheader_filename = "gst/tag/tag.h")]
91         public static unowned string tag_id3_genre_get (uint id);
92         [CCode (cheader_filename = "gst/tag/tag.h")]
93         public static Gst.Buffer tag_image_data_to_image_buffer (uchar image_data, uint image_data_len, Gst.TagImageType image_type);
94         [CCode (cheader_filename = "gst/tag/tag.h")]
95         public static bool tag_list_add_id3_image (Gst.TagList tag_list, uchar image_data, uint image_data_len, uint id3_picture_type);
96         [CCode (cheader_filename = "gst/tag/tag.h")]
97         public static Gst.TagList tag_list_from_vorbiscomment_buffer (Gst.Buffer buffer, uchar id_data, uint id_data_length, out string vendor_string);
98         [CCode (cheader_filename = "gst/tag/tag.h")]
99         public static Gst.TagList tag_list_new_from_id3v1 (uchar data);
100         [CCode (cheader_filename = "gst/tag/tag.h")]
101         public static Gst.Buffer tag_list_to_vorbiscomment_buffer (Gst.TagList list, uchar id_data, uint id_data_length, string vendor_string);
102         [CCode (cheader_filename = "gst/tag/tag.h")]
103         public static bool tag_parse_extended_comment (string ext_comment, out string key, out string lang, out string value, bool fail_if_no_key);
104         [CCode (cheader_filename = "gst/tag/tag.h")]
105         public static void tag_register_musicbrainz_tags ();
106         [CCode (cheader_filename = "gst/tag/tag.h")]
107         public static unowned string tag_to_id3_tag (string gst_tag);
108         [CCode (cheader_filename = "gst/tag/tag.h")]
109         public static GLib.List<string> tag_to_vorbis_comments (Gst.TagList list, string tag);
110         [CCode (cheader_filename = "gst/tag/tag.h")]
111         public static unowned string tag_to_vorbis_tag (string gst_tag);
112         [CCode (cheader_filename = "gst/tag/tag.h")]
113         public static void vorbis_tag_add (Gst.TagList list, string tag, string value);