summaryrefslogtreecommitdiff
path: root/vapi/dbus-glib-1.vapi
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2008-12-14 19:36:38 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-12-14 19:36:38 +0000
commit73fcf58c7a360d8ab92233dc6068f59d772e6adc (patch)
tree583336323ba8c20646d330fe0a1ef1b5c46d1c1a /vapi/dbus-glib-1.vapi
parentdaa9d5b94d0da60d602ca4ae6ac1791ad065d8d0 (diff)
downloadvala-73fcf58c7a360d8ab92233dc6068f59d772e6adc.tar.gz
Rewrite D-Bus server support to directly use libdbus without dbus-glib
2008-12-14 Jürg Billeter <j@bitron.ch> * gobject/valaccodebasemodule.vala: * gobject/valadbusservermodule.vala: * gobject/valagsignalmodule.vala: * vapi/dbus-glib-1.vapi: Rewrite D-Bus server support to directly use libdbus without dbus-glib marshalling, fixes bug 560034 and bug 549980 Support BusName sender parameter in exported D-Bus methods svn path=/trunk/; revision=2147
Diffstat (limited to 'vapi/dbus-glib-1.vapi')
-rw-r--r--vapi/dbus-glib-1.vapi6
1 files changed, 6 insertions, 0 deletions
diff --git a/vapi/dbus-glib-1.vapi b/vapi/dbus-glib-1.vapi
index 00901344c..780045308 100644
--- a/vapi/dbus-glib-1.vapi
+++ b/vapi/dbus-glib-1.vapi
@@ -125,6 +125,12 @@ namespace DBus {
public ObjectPath (string path);
}
+ [CCode (cname = "char", const_cname = "const char", copy_function = "g_strdup", free_function = "g_free", cheader_filename = "stdlib.h,string.h,glib.h", type_id = "DBUS_TYPE_G_OBJECT_PATH", marshaller_type_name = "STRING", get_value_function = "g_value_get_string", set_value_function = "g_value_set_string")]
+ public class BusName : string {
+ [CCode (cname = "g_strdup")]
+ public BusName (string bus_name);
+ }
+
[CCode (cname = "DBusGProxyCallNotify")]
public delegate void ProxyCallNotify (Object obj, ProxyCall call_id);