From: Juerg Billeter Date: Fri, 23 May 2008 17:57:30 +0000 (+0000) Subject: add DBus.ObjectPath class X-Git-Tag: VALA_0_3_3~147 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ec03e5998e533a9fa5ca97c43c13677307b03bd;p=thirdparty%2Fvala.git add DBus.ObjectPath class 2008-05-23 Juerg Billeter * vapi/dbus-glib-1.vapi: add DBus.ObjectPath class svn path=/trunk/; revision=1411 --- diff --git a/ChangeLog b/ChangeLog index 493964549..27946e9b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-05-23 Jürg Billeter + + * vapi/dbus-glib-1.vapi: add DBus.ObjectPath class + 2008-05-23 Jürg Billeter * vapi/sdl.vapi: fix syntax errors diff --git a/vapi/dbus-glib-1.vapi b/vapi/dbus-glib-1.vapi index bd82465c0..ddf95d90e 100644 --- a/vapi/dbus-glib-1.vapi +++ b/vapi/dbus-glib-1.vapi @@ -1,6 +1,6 @@ /* dbus-glib-1.vala * - * Copyright (C) 2007 Jürg Billeter + * Copyright (C) 2007-2008 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 @@ -114,6 +114,12 @@ namespace DBus { public weak string get_interface (); } + [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", type_signature = "o")] + public class ObjectPath : string { + [CCode (cname = "g_strdup")] + public ObjectPath (string path); + } + [CCode (cname = "DBusGProxyCallNotify")] public delegate void ProxyCallNotify (Object obj, ProxyCall call_id);