Skip to content

Instantly share code, notes, and snippets.

@desiderantes
Created June 8, 2016 17:00
Show Gist options
  • Save desiderantes/2723756bbd1b88c769d1cf568f73577d to your computer and use it in GitHub Desktop.
Save desiderantes/2723756bbd1b88c769d1cf568f73577d to your computer and use it in GitHub Desktop.
libowl-av.vapi
/* libowl-av.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Owl", lower_case_cprefix = "owl_")]
namespace Owl {
[CCode (cprefix = "OWL_TAG_READER_ERROR_", has_type_id = "0", cheader_filename = "libowl-av/owl-tag-reader.h")]
public enum TagReaderError {
UNKNOWN_TYPE
}
[CCode (cheader_filename = "libowl-av/owl-audio-player.h")]
public class AudioPlayer : GLib.Object {
public int get_buffer_percent ();
public bool get_can_seek ();
public int get_duration ();
public bool get_playing ();
public int get_position ();
public weak string get_uri ();
public double get_volume ();
public AudioPlayer ();
public void set_playing (bool playing);
public void set_position (int position);
public void set_uri (string uri);
public void set_volume (double volume);
public int buffer_percent { get; }
public bool can_seek { get; }
public int duration { get; }
public bool playing { get; set; }
public int position { get; set; }
public string uri { get; set; }
public double volume { get; set; }
public virtual signal void eos ();
public virtual signal void error (GLib.Error error);
public virtual signal void tag_list_available (Gst.TagList tag_list);
}
[CCode (cheader_filename = "libowl-av/owl-tag-reader.h")]
public class TagReader : GLib.Object {
public void cancel_scan_uri (uint scan_id);
public static GLib.Quark error_quark ();
public TagReader ();
public uint scan_uri (string uri);
public virtual signal void uri_scanned (string uri, GLib.Error error, Gst.TagList tag_list);
}
[CCode (cheader_filename = "libowl-av/owl-video-widget.h")]
public class VideoWidget : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
public int get_buffer_percent ();
public bool get_can_seek ();
public int get_duration ();
public bool get_force_aspect_ratio ();
public bool get_playing ();
public int get_position ();
public weak string get_uri ();
public double get_volume ();
public VideoWidget ();
public void set_force_aspect_ratio (bool force_aspect_ratio);
public void set_playing (bool playing);
public void set_position (int position);
public void set_uri (string uri);
public void set_volume (double volume);
public int buffer_percent { get; }
public bool can_seek { get; }
public int duration { get; }
public bool force_aspect_ratio { get; set; }
public bool playing { get; set; }
public int position { get; set; }
public string uri { get; set; }
public double volume { get; set; }
public virtual signal void eos ();
public virtual signal void error (GLib.Error error);
public virtual signal void tag_list_available (Gst.TagList tag_list);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment