27
27
namespace Contacts {
28
28
[CCode (cname = "contacts_ensure_eds_accounts")]
29
29
public static void ensure_eds_accounts ();
30
[CCode (cname = "contacts_eds_local_store")]
31
public static string? eds_local_store;
32
30
[CCode (cname = "contacts_lookup_esource_name_by_uid")]
33
31
public static unowned string? lookup_esource_name_by_uid (string uid);
34
32
[CCode (cname = "contacts_lookup_esource_name_by_uid_for_contact")]
35
33
public static unowned string? lookup_esource_name_by_uid_for_contact (string uid);
36
34
[CCode (cname = "contacts_esource_uid_is_google")]
37
35
public static bool esource_uid_is_google (string uid);
38
[CCode (cname = "eds_personal_google_group_name")]
39
public static unowned string? eds_personal_google_group_name ();
40
36
[CCode (cname = "contacts_has_goa_account")]
41
37
public static bool has_goa_account ();
42
[CCode (cname = "contacts_source_list")]
43
public static E.SourceList eds_source_list;
44
[CCode (cname = "contacts_avoid_goa_workaround")]
45
public static bool avoid_goa_workaround;
38
[CCode (cname = "eds_source_registry")]
39
public static E.SourceRegistry eds_source_registry;
48
[CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_", cheader_filename = "gtk-notification.h")]
42
[CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_", cheader_filename = "gtk/gtk.h")]
50
public class Notification : Gtk.Box {
51
[CCode (has_construct_function = false, type = "GtkWidget*")]
52
public Notification ();
53
public void set_timeout (uint timeout_msec);
54
public void dismiss ();
55
public virtual signal void dismissed ();
57
44
[CCode (cname = "gtk_builder_add_from_resource")]
58
45
public static unowned uint my_builder_add_from_resource (Gtk.Builder builder, string path) throws GLib.Error;
69
56
public Gdk.Pixbuf get_picture ();
60
[CCode (cprefix = "Cheese", lower_case_cprefix = "cheese_", cheader_filename = "cheese/cheese-gtk.h")]
62
public static void gtk_init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
63
[CCode (cheader_filename = "cheese/cheese-camera-device.h")]
64
public class CameraDevice : GLib.Object {
65
[CCode (has_construct_function = false, type = "CheeseCameraDevice*")]
66
public CameraDevice (string uuid, string device_node, string name, uint v4l_api_version) throws GLib.Error;
68
[CCode (cheader_filename = "cheese/cheese-camera-device-monitor.h")]
69
public class CameraDeviceMonitor : GLib.Object {
70
[CCode (has_construct_function = false, type = "CheeseCameraDeviceMonitor*")]
71
public CameraDeviceMonitor ();
72
public void coldplug ();
73
public signal void added (CameraDevice device);
74
public signal void removed (string uuid);
76
[CCode (cheader_filename = "cheese/cheese-avatar-chooser.h")]
77
public class AvatarChooser : Gtk.Dialog {
78
[CCode (has_construct_function = false, type = "CheeseAvatarChooser*")]
79
public AvatarChooser ();
80
public Gdk.Pixbuf get_picture ();
82
public enum WidgetState {
87
[CCode (cheader_filename = "cheese/cheese-widget.h")]
88
public class Widget : Gtk.Widget {
89
[CCode (has_construct_function = false, type = "CheeseWidget*")]
91
public WidgetState state { get; }
92
public unowned GLib.Object get_camera ();
94
[CCode (cheader_filename = "cheese/cheese-camera.h")]
95
public class Camera : GLib.Object {
96
public bool take_photo_pixbuf ();
97
public signal void photo_taken (Gdk.Pixbuf pixbuf);
99
[CCode (cheader_filename = "cheese-flash.h")]
100
public class Flash : Gtk.Window {
101
[CCode (has_construct_function = false, type = "CheeseFlash*")]
102
public Flash (Gtk.Widget parent);