From: Jürg Billeter Date: Tue, 21 Apr 2009 11:40:06 +0000 (+0200) Subject: hal: Add libhal_device_get_property_{bool,double} bindings X-Git-Tag: 0.7.2~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60beea25ec4f88bba4217b75c47a99dbc62c641d;p=thirdparty%2Fvala.git hal: Add libhal_device_get_property_{bool,double} bindings --- diff --git a/vapi/hal.vapi b/vapi/hal.vapi index 58216211f..aa91f4eb3 100644 --- a/vapi/hal.vapi +++ b/vapi/hal.vapi @@ -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); }