summaryrefslogtreecommitdiff
path: root/src/colord.vapi
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2011-08-27 10:54:21 +0200
committerAlessio Treglia <alessio@debian.org>2011-08-27 10:54:21 +0200
commit87ebc2af1f0417b3bc38a233e28ff673eff4fa51 (patch)
tree747dd400400bf7593642d0ab321a4e37df2ee188 /src/colord.vapi
parent0898b615a2ea01bd65aa1d560350b48bd036b5b6 (diff)
Imported Upstream version 3.1.5upstream/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;
+}