summaryrefslogtreecommitdiff
path: root/vapi/dbus-glib-1.vapi
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-04-20 18:50:28 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-04-20 18:50:28 +0000
commit7ef89124bf751d257789f664561cf91e6836e9bc (patch)
tree80c1ad54a6974c49179ba30b4d9ccb42c6586fdc /vapi/dbus-glib-1.vapi
parentbb54ceb5c77ea433e0799aec59c7bb4255b456de (diff)
downloadvala-7ef89124bf751d257789f664561cf91e6836e9bc.tar.gz
Improve support for dynamic types, add `dynamic' type modifier, port
2008-04-20 Juerg Billeter <j@bitron.ch> * vala/Makefile.am, vala/valaclasstype.vala, vala/valacodecontext.vala, vala/valacodegenerator.vala, vala/valadatatype.vala, vala/valadynamicmethod.vala, vala/valadynamicsignal.vala, vala/valainterface.vala, vala/valainterfacetype.vala, vala/valamethod.vala, vala/valamethodtype.vala, vala/valaparser.vala, vala/valascanner.vala, vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala, vala/valatokentype.vala, vala/valaunresolvedtype.vala, vala/valavaluetype.vala, gobject/Makefile.am, gobject/valaccodeassignmentbinding.vala, gobject/valaccodebinding.vala, gobject/valaccodedynamicmethodbinding.vala, gobject/valaccodedynamicsignalbinding.vala, gobject/valaccodegenerator.vala, gobject/valaccodegeneratorsourcefile.vala, gobject/valaccodeinterfacebinding.vala, gobject/valaccodeinvocationexpressionbinding.vala, gobject/valaccodemethodbinding.vala, compiler/valacompiler.vala, vapi/dbus-glib-1.vapi: Improve support for dynamic types, add `dynamic' type modifier, port dynamic D-Bus client support svn path=/trunk/; revision=1288
Diffstat (limited to 'vapi/dbus-glib-1.vapi')
-rw-r--r--vapi/dbus-glib-1.vapi9
1 files changed, 5 insertions, 4 deletions
diff --git a/vapi/dbus-glib-1.vapi b/vapi/dbus-glib-1.vapi
index a3adac31b..e26216420 100644
--- a/vapi/dbus-glib-1.vapi
+++ b/vapi/dbus-glib-1.vapi
@@ -95,19 +95,20 @@ namespace DBus {
[CCode (ref_function = "dbus_g_connection_ref", unref_function = "dbus_g_connection_unref", cname = "DBusGConnection")]
public class Connection {
+ [CCode (cname = "dbus_g_proxy_new_for_name")]
+ public Object get_object (string name, string path, string interface_);
}
[CCode (cname = "DBusGProxy", lower_case_csuffix = "g_proxy")]
- public class Proxy {
- public Proxy.for_name (Connection connection, string name, string path, string interface_);
+ public class Object : GLib.Object {
public bool call (string method, out GLib.Error error, GLib.Type first_arg_type, ...);
- public weak ProxyCall begin_call (string method, ProxyCallNotify notify, void* data, GLib.DestroyNotify destroy, GLib.Type first_arg_type, ...);
+ public weak ProxyCall begin_call (string method, ProxyCallNotify notify, GLib.DestroyNotify destroy, GLib.Type first_arg_type, ...);
public bool end_call (ProxyCall call, out GLib.Error error, GLib.Type first_arg_type, ...);
public void cancel_call (ProxyCall call);
}
[CCode (cname = "DBusGProxyCallNotify")]
- public static delegate void ProxyCallNotify (Proxy proxy, ProxyCall call_id, void* user_data);
+ public delegate void ProxyCallNotify (Object obj, ProxyCall call_id);
[CCode (cname = "DBusGProxyCall")]
public class ProxyCall {