~ubuntu-branches/ubuntu/trusty/gnome-contacts/trusty

« back to all changes in this revision

Viewing changes to vapi/custom.vapi

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Jeremy Bicha, Michael Biebl
  • Date: 2013-09-19 18:23:06 UTC
  • mfrom: (1.3.10) (0.3.4 experimental)
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: package-import@ubuntu.com-20130919182306-rcatwotzg94pr884
Tags: 3.8.3-1
[ Jeremy Bicha ]
* debian/control.in:
  - Drop alternate build-depends on valac-0.18 since it's no longer
    in Debian

[ Michael Biebl ]
* New upstream release.
* Loosen Build-Depends on libgnome-desktop-3-dev, we do not strictly require
  version (>= 3.6.0) which is not yet available in unstable.
* Bump Standards-Version to 3.9.4. No further changes.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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;
46
40
}
47
41
 
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")]
49
43
namespace Gtk {
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 ();
56
 
        }
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;
59
46
}
69
56
                public Gdk.Pixbuf get_picture ();
70
57
        }
71
58
}
 
59
 
 
60
[CCode (cprefix = "Cheese", lower_case_cprefix = "cheese_", cheader_filename = "cheese/cheese-gtk.h")]
 
61
namespace Cheese {
 
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;
 
67
        }
 
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);
 
75
        }
 
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 ();
 
81
        }
 
82
        public enum WidgetState {
 
83
                NONE,
 
84
                READY,
 
85
                ERROR
 
86
        }
 
87
        [CCode (cheader_filename = "cheese/cheese-widget.h")]
 
88
        public class Widget : Gtk.Widget {
 
89
                [CCode (has_construct_function = false, type = "CheeseWidget*")]
 
90
                public Widget ();
 
91
                public WidgetState state { get; }
 
92
        public unowned GLib.Object get_camera ();
 
93
        }
 
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);
 
98
        }
 
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);
 
103
                public void fire ();
 
104
        }
 
105
}