/usr/share/vala/vapi/libebook-1.2.vapi is in libebook1.2-dev 3.10.4-0ubuntu1.6.
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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | /* libebook-1.2.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "E", gir_namespace = "EBook", gir_version = "1.2", lower_case_cprefix = "e_")]
namespace E {
[CCode (cheader_filename = "libebook/libebook.h", type_id = "e_book_client_get_type ()")]
public class BookClient : E.Client, GLib.AsyncInitable, GLib.Initable {
[CCode (has_construct_function = false)]
[Deprecated (since = "3.8")]
public BookClient (E.Source source) throws GLib.Error;
public async bool add_contact (E.Contact contact, GLib.Cancellable? cancellable, out string out_added_uid) throws GLib.Error;
public bool add_contact_sync (E.Contact contact, out string out_added_uid, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool add_contacts (GLib.SList<E.Contact> contacts, GLib.Cancellable? cancellable, out GLib.SList<string> out_added_uids) throws GLib.Error;
public bool add_contacts_sync (GLib.SList<E.Contact> contacts, out GLib.SList<string> out_added_uids, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static async E.BookClient connect (E.Source source, GLib.Cancellable? cancellable) throws GLib.Error;
public static E.BookClient connect_direct_sync (E.SourceRegistry registry, E.Source source, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static E.BookClient connect_sync (E.Source source, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool get_contact (string uid, GLib.Cancellable? cancellable, out E.Contact out_contact) throws GLib.Error;
public bool get_contact_sync (string uid, out E.Contact out_contact, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool get_contacts (string sexp, GLib.Cancellable? cancellable, out GLib.SList<E.Contact> out_contacts) throws GLib.Error;
public bool get_contacts_sync (string sexp, out GLib.SList<E.Contact> out_contacts, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool get_contacts_uids (string sexp, GLib.Cancellable? cancellable, out GLib.SList<string> out_contact_uids) throws GLib.Error;
public bool get_contacts_uids_sync (string sexp, out GLib.SList<string> out_contact_uids, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static bool get_self (E.SourceRegistry registry, out E.Contact out_contact, out E.BookClient out_client) throws GLib.Error;
public async bool get_view (string sexp, GLib.Cancellable? cancellable, out E.BookClientView out_view) throws GLib.Error;
public bool get_view_sync (string sexp, out E.BookClientView out_view, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static bool is_self (E.Contact contact);
public async bool modify_contact (E.Contact contact, GLib.Cancellable? cancellable) throws GLib.Error;
public bool modify_contact_sync (E.Contact contact, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool modify_contacts (GLib.SList<E.Contact> contacts, GLib.Cancellable? cancellable) throws GLib.Error;
public bool modify_contacts_sync (GLib.SList<E.Contact> contacts, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool remove_contact (E.Contact contact, GLib.Cancellable? cancellable) throws GLib.Error;
public async bool remove_contact_by_uid (string uid, GLib.Cancellable? cancellable) throws GLib.Error;
public bool remove_contact_by_uid_sync (string uid, GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool remove_contact_sync (E.Contact contact, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool remove_contacts (GLib.SList<string> uids, GLib.Cancellable? cancellable) throws GLib.Error;
public bool remove_contacts_sync (GLib.SList<string> uids, GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool set_self (E.Contact contact) throws GLib.Error;
}
[CCode (cheader_filename = "libebook/libebook.h", type_id = "e_book_client_view_get_type ()")]
public class BookClientView : GLib.Object, GLib.Initable {
[CCode (has_construct_function = false)]
protected BookClientView ();
[Deprecated (since = "3.10")]
public void* get_client ();
public unowned GLib.DBusConnection get_connection ();
public unowned string get_object_path ();
public bool is_running ();
public void set_fields_of_interest (GLib.SList<string> fields_of_interest) throws GLib.Error;
public void set_flags (E.BookClientViewFlags flags) throws GLib.Error;
public void start () throws GLib.Error;
public void stop () throws GLib.Error;
public E.BookClient client { get; construct; }
public GLib.DBusConnection connection { get; construct; }
public string object_path { get; construct; }
public virtual signal void complete (GLib.Error error);
public signal void objects_added ([CCode (type = "gpointer")] GLib.List<void*> object);
public signal void objects_modified ([CCode (type = "gpointer")] GLib.List<void*> object);
public signal void objects_removed ([CCode (type = "gpointer")] GLib.List<void*> object);
public virtual signal void progress (uint percent, string message);
}
[CCode (cheader_filename = "libebook/libebook.h", type_id = "e_destination_get_type ()")]
public class Destination : GLib.Object {
[CCode (has_construct_function = false)]
public Destination ();
public E.Destination copy ();
public bool empty ();
public bool equal (E.Destination b);
public string export ();
public void export_to_vcard_attribute (E.VCardAttribute attr);
public static string exportv (E.Destination destv);
public static void freev (E.Destination destv);
public unowned string get_address ();
public unowned E.Contact get_contact ();
public unowned string get_contact_uid ();
public unowned string get_email ();
public int get_email_num ();
public bool get_html_mail_pref ();
public unowned string get_name ();
public unowned string get_source_uid ();
public unowned string get_textrep (bool include_email);
public static string get_textrepv (E.Destination destv);
public static E.Destination import (string str);
public static E.Destination importv (string str);
public bool is_auto_recipient ();
public bool is_evolution_list ();
public bool is_ignored ();
public unowned GLib.List<E.Destination> list_get_dests ();
public unowned GLib.List<E.Destination> list_get_root_dests ();
public bool list_show_addresses ();
public void set_auto_recipient (bool value);
public void set_client (E.BookClient client);
public void set_contact (E.Contact contact, int email_num);
public void set_contact_uid (string uid, int email_num);
public void set_email (string email);
public void set_html_mail_pref (bool flag);
public void set_ignored (bool ignored);
public void set_name (string name);
public void set_raw (string raw);
public virtual signal void changed ();
}
[CCode (cheader_filename = "libebook/libebook.h", cprefix = "E_BOOK_ERROR_", type_id = "e_book_status_get_type ()")]
public enum BookStatus {
OK,
INVALID_ARG,
BUSY,
REPOSITORY_OFFLINE,
NO_SUCH_BOOK,
NO_SELF_CONTACT,
SOURCE_NOT_LOADED,
SOURCE_ALREADY_LOADED,
PERMISSION_DENIED,
CONTACT_NOT_FOUND,
CONTACT_ID_ALREADY_EXISTS,
PROTOCOL_NOT_SUPPORTED,
CANCELLED,
COULD_NOT_CANCEL,
AUTHENTICATION_FAILED,
AUTHENTICATION_REQUIRED,
TLS_NOT_AVAILABLE,
DBUS_EXCEPTION,
NO_SUCH_SOURCE,
OFFLINE_UNAVAILABLE,
OTHER_ERROR,
INVALID_SERVER_VERSION,
UNSUPPORTED_AUTHENTICATION_METHOD,
NO_SPACE,
NOT_SUPPORTED
}
[CCode (cheader_filename = "libebook/libebook.h")]
public static GLib.Quark book_error_quark ();
}
|