Switch downloads to be done asynchronously, use libsoup-2.4 instead of libcurl
[beifahrer] / vapi / libosso-abook-1.0.vapi
1 [CCode (cprefix = "OssoABook", 
2 lower_case_cprefix = "osso_abook_")]
3 namespace OssoABook {
4         [CCode (cheader_filename = "libosso-abook/osso-abook-button.h")]
5         enum ButtonStyle {
6                 NORMAL,
7                 PICKER,
8                 LABEL,
9                 NOTE
10         }
11         [CCode (cheader_filename = "libosso-abook/osso-abook-button.h")]
12         class Button : Gtk.Button {
13                 public Button (Hildon.SizeType size);
14                 public Button.with_text (Hildon.SizeType size, string title, string value);
15                 public void set_icon_name (string icon_name);
16                 public void set_icon_visible (bool visible);
17                 public string title { get; set; }
18                 public string value { get; set; }
19                 public OssoABook.ButtonStyle style { get; set; }
20         }
21         [CCode (cheader_filename = "libosso-abook/osso-abook-contact.h")]
22         class Contact : E.Contact {
23                 public Contact ();
24                 public Contact.new_from_vcard (string? uid, string vcard);
25         }
26         [CCode (cheader_filename = "libosso-abook/osso-abook-temporary-contact-dialog.h")]
27         class TemporaryContactDialog : Gtk.Dialog {
28                 public TemporaryContactDialog (Gtk.Window? parent, E.Book? book, E.VCardAttribute? attribute, void *account);
29                 public TemporaryContactDialog.with_contact (Gtk.Window? parent, OssoABook.Contact? contact);
30         }
31 }