]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
add DBus.ObjectPath class
authorJuerg Billeter <j@bitron.ch>
Fri, 23 May 2008 17:57:30 +0000 (17:57 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Fri, 23 May 2008 17:57:30 +0000 (17:57 +0000)
2008-05-23  Juerg Billeter  <j@bitron.ch>

* vapi/dbus-glib-1.vapi: add DBus.ObjectPath class

svn path=/trunk/; revision=1411

ChangeLog
vapi/dbus-glib-1.vapi

index 493964549432accee980ca09619f6c02313fbf69..27946e9b1fddd9f441d61ed83af12e19af9d7638 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-23  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/dbus-glib-1.vapi: add DBus.ObjectPath class
+
 2008-05-23  Jürg Billeter  <j@bitron.ch>
 
        * vapi/sdl.vapi: fix syntax errors
index bd82465c0e324c617663c01a45816f84e9be11de..ddf95d90effca2ccd6f55ae00feb82084ca73cf3 100644 (file)
@@ -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);