/usr/share/vala/vapi/libmediaart-2.0.vapi is in libmediaart-2.0-dev 1.9.0-2.
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | /* libmediaart-2.0.vapi generated by vapigen-0.26, do not modify. */
[CCode (cprefix = "MediaArt", gir_namespace = "MediaArt", gir_version = "2.0", lower_case_cprefix = "media_art_")]
namespace MediaArt {
[CCode (cheader_filename = "libmediaart/mediaart.h", type_id = "media_art_process_get_type ()")]
public class Process : GLib.Object, GLib.Initable {
[CCode (has_construct_function = false)]
public Process () throws GLib.Error;
public bool buffer (MediaArt.Type type, MediaArt.ProcessFlags flags, GLib.File related_file, [CCode (array_length_cname = "len", array_length_pos = 4.5, array_length_type = "gsize")] uint8[]? buffer, string mime, string? artist, string? title, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool buffer_async (MediaArt.Type type, MediaArt.ProcessFlags flags, GLib.File related_file, [CCode (array_length_cname = "len", array_length_pos = 4.5, array_length_type = "gsize")] uint8[]? buffer, string mime, string? artist, string? title, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
public bool file (MediaArt.Type type, MediaArt.ProcessFlags flags, GLib.File file, string? artist, string? title, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool file_async (MediaArt.Type type, MediaArt.ProcessFlags flags, GLib.File file, string? artist, string? title, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
public bool uri (MediaArt.Type type, MediaArt.ProcessFlags flags, string uri, string? artist, string? title, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool uri_async (MediaArt.Type type, MediaArt.ProcessFlags flags, string uri, string? artist, string? title, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
}
[CCode (cheader_filename = "libmediaart/mediaart.h", cprefix = "MEDIA_ART_PROCESS_FLAGS_", has_type_id = false)]
[Flags]
public enum ProcessFlags {
NONE,
FORCE
}
[CCode (cheader_filename = "libmediaart/mediaart.h", cprefix = "MEDIA_ART_", has_type_id = false)]
public enum Type {
NONE,
ALBUM,
VIDEO
}
[CCode (cheader_filename = "libmediaart/mediaart.h", cprefix = "MEDIA_ART_ERROR_")]
public errordomain Error {
NO_STORAGE,
NO_TITLE,
SYMLINK_FAILED,
RENAME_FAILED,
NO_CACHE_DIR;
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "libmediaart/mediaart.h")]
public static bool buffer_to_jpeg (uint8 buffer, ulong len, string buffer_mime, string target) throws GLib.Error;
[CCode (cheader_filename = "libmediaart/mediaart.h")]
public static bool file_to_jpeg (string filename, string target) throws GLib.Error;
[CCode (cheader_filename = "libmediaart/mediaart.h")]
public static bool get_file (string? artist, string? title, string? prefix, out GLib.File cache_file);
[CCode (cheader_filename = "libmediaart/mediaart.h")]
public static bool get_path (string? artist, string? title, string? prefix, out string cache_path);
[CCode (cheader_filename = "libmediaart/mediaart.h")]
public static void plugin_init (int max_width);
[CCode (cheader_filename = "libmediaart/mediaart.h")]
public static void plugin_shutdown ();
[CCode (cheader_filename = "libmediaart/mediaart.h")]
public static bool remove (string artist, string? album, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "libmediaart/mediaart.h")]
public static async bool remove_async (string artist, string? album, int io_priority, GLib.Object? source_object, GLib.Cancellable? cancellable) throws GLib.Error;
[CCode (cheader_filename = "libmediaart/mediaart.h")]
public static string strip_invalid_entities (string original);
}
|