summaryrefslogtreecommitdiff
path: root/src/colord.vapi
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2011-08-27 10:54:22 +0200
committerAlessio Treglia <alessio@debian.org>2011-08-27 10:54:22 +0200
commit575d802c4f1a81ebce3b7b71be6dd3a51fddf7bd (patch)
treef67206af06039627d241d77bc83009505189b7eb /src/colord.vapi
parent77a9b5bea4c6dc6977e51b002d92d268e57208f3 (diff)
parent87ebc2af1f0417b3bc38a233e28ff673eff4fa51 (diff)
Merge commit 'upstream/3.1.5'
Diffstat (limited to 'src/colord.vapi')
-rw-r--r--src/colord.vapi17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/colord.vapi b/src/colord.vapi
new file mode 100644
index 0000000..817673f
--- /dev/null
+++ b/src/colord.vapi
@@ -0,0 +1,17 @@
+[CCode (cprefix = "Cd", lower_case_cprefix = "cd_", cheader_filename = "colord.h")]
+namespace Colord {
+ public class Client : GLib.Object {
+ public Client ();
+ public bool connect_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public Device find_device_by_property_sync (string key, string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ }
+ public class Device : GLib.Object {
+ public bool connect_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public Profile? get_default_profile ();
+ }
+ public class Profile : GLib.Object {
+ public bool connect_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public string? filename { get; }
+ }
+ public const string DEVICE_PROPERTY_SERIAL;
+}