[vala] hal: Add libhal_device_get_property_{bool,double} bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] hal: Add libhal_device_get_property_{bool,double} bindings
- Date: Tue, 21 Apr 2009 07:40:46 -0400 (EDT)
commit 60beea25ec4f88bba4217b75c47a99dbc62c641d
Author: Jürg Billeter <j bitron ch>
Date: Tue Apr 21 13:40:06 2009 +0200
hal: Add libhal_device_get_property_{bool,double} bindings
---
vapi/hal.vapi | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/vapi/hal.vapi b/vapi/hal.vapi
index 5821621..aa91f4e 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]