Re: bluez+dbus: why glib binding

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <1202231297.15090.109.camel@violet>
Hi Choi,

> > > If not - what do you use instead ? directly the libdus C lowlevel library ?
> > > or some other binding ?
> > > IOW - is it possible to use glib binding without dbus-glib ?
> >
> > You don't get it. The dbus-glib bindings are an integration of dbus into
> > the GObject model (libgobject). We don't use that. Yes, we use glib, but
> > not gobject and yes, we use dbus (low-level libdbus).
> 
> Ok, I think I understand.
> In bluez-utils, which is a d-bus server, you use directly the libdbus library,
> just like dbus-daemon does. So the glib is required for completely
> different reasons - not
> for using dbus. am I correct ?

we need the mainloop from glib to make dbus work. Otherwise we would
have to write our own mainloop and that is nasty.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.