]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
hal: Add libhal_device_get_property_{bool,double} bindings
authorJürg Billeter <j@bitron.ch>
Tue, 21 Apr 2009 11:40:06 +0000 (13:40 +0200)
committerJürg Billeter <j@bitron.ch>
Tue, 21 Apr 2009 11:40:06 +0000 (13:40 +0200)
vapi/hal.vapi

index 58216211fdd93d60a1ca5a7995b4dbd06e8ba9b4..aa91f4eb370033af7e4edf9ba2366b1437ad2e68 100644 (file)
@@ -1,6 +1,6 @@
 /* hal.vala
  *
- * Copyright (C) 2007  Jürg Billeter
+ * Copyright (C) 2007-2009  Jürg Billeter
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -45,6 +45,10 @@ namespace Hal {
                public int device_get_property_int (string udi, string key, ref DBus.RawError error);
                [CCode (cname = "libhal_device_get_property_uint64")]
                public uint64 device_get_property_uint64 (string udi, string key, ref DBus.RawError error);
+               [CCode (cname = "libhal_device_get_property_double")]
+               public double device_get_property_double (string udi, string key, ref DBus.RawError error);
+               [CCode (cname = "libhal_device_get_property_bool")]
+               public bool device_get_property_bool (string udi, string key, ref DBus.RawError error);
                [CCode (cname = "libhal_device_query_capability")]
                public bool device_query_capability (string udi, string capability, ref DBus.RawError error);
        }