/usr/share/vala/vapi/unity-extras.vapi is in libunity-dev 7.1.4+14.04.20140210-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /* unity-extras.vapi generated by valac 0.22.1, do not modify. */
namespace Unity {
[CCode (gir_namespace = "UnityExtras", gir_version = "1.0")]
namespace Extras {
[CCode (cheader_filename = "unity-extras.h")]
public class PreviewPlayer : GLib.Object {
public PreviewPlayer ();
public async void close () throws GLib.Error;
public async void pause () throws GLib.Error;
public async void pause_resume () throws GLib.Error;
public async void play (string uri) throws GLib.Error;
public async void resume () throws GLib.Error;
public async void stop () throws GLib.Error;
public async GLib.HashTable<string,GLib.Variant> video_properties (string uri) throws GLib.Error;
public signal void progress (string uri, Unity.MusicPreview.TrackState state, double progress);
}
[CCode (cheader_filename = "unity-extras.h")]
public delegate void CreateScopeCallback ();
[CCode (cheader_filename = "unity-extras.h")]
public static bool dbus_name_has_owner (string name) throws GLib.Error;
[CCode (cheader_filename = "unity-extras.h")]
public static GLib.Application? dbus_own_name (string name, Unity.Extras.CreateScopeCallback scope_creation_cb) throws GLib.Error;
[CCode (cheader_filename = "unity-extras.h")]
public static async void show_in_folder (string uri) throws GLib.Error;
}
}
|