Pascal bindings for dbus

John (J5) Palmieri johnp at redhat.com
Thu Aug 24 11:00:59 PDT 2006


On Thu, 2006-08-24 at 14:46 -0300, Felipe Monteiro de Carvalho wrote:
> Hello,
> 
> I would like to write pascal bindings for dbus, but I´m a little
> confused about where to start.
> 
> I downloaded dbus source code 0.92, and also dbus-glib 0.71. Because
> of the dates where they were released, am I right to assume that
> dbus-glib 0.71 corresponds to the source code version 0.91 ?

Bindings are separate from the core now for the most part.  Yes the 0.7x
series corresponds to the 0.9x series of dbus (they used to be packaged
together).  However in the future the D-Bus API/ABI will be stable and
it will be up to the bindings what the minimum version they will
support.

> Also, what is the difference between using the .h files that come with
> the main source code, and using the .h files that come with dbus-glib
> to write a program that links to dbus? And more specifically, do I
> need to convert .h files from both the source code and dbus-glib or
> only from one of them?

dbus-glib are bindings.  You can use these bindings as helpers for
instance to get GLib mainloop support but you should use the lowlevel
API to write the bindings.  In Python we separate out the glib parts
into the dbus.glib module.  Hope this helps.

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list