glib encapsulation patch

Olivier Andrieu oliv__a at users.sourceforge.net
Fri Jun 18 07:36:56 PDT 2004


 Havoc Pennington <hp at redhat.com> [Thu, 10 Jun 2004 23:45:23 -0400]:
 > Hi,
 > 
 > I didn't commit this yet, want to think about it a bit more.
 > What do people think?
 > 
 > It's not quite complete, since the GLib bindings aren't quite complete.
 > Notably all the varargs stuff isn't redone to fully use G-types, signal
 > marshaling is left hanging, etc. And of course you still can't implement
 > a server since dbus-glib-tool isn't done.

What would be the API like with signals ? smthg like that:

  dbus_gproxy_connect_signal(proxy, "Foo", "us", G_CALLBACK (handler));

"us" being the signature and the handler would be:

  void handler (DBusGProxy*, guint32, gchar *)
?

-- 
   Olivier



More information about the dbus mailing list