Re: Current choices of D-Bus C++ APIs



We're using the DBus C GLib-based API in a C++ program. It works, but is tedious because you need to have C GObjects which constitute proxies for your actual C++ objects, and you need to apply some sed hacking to dbus-binding-tool output, all in all not a very clean, but still workable solution.

I tried using dbus-c++ (the one from freedesktop.org), but i've encountered problems with returning data from a function call, and i couldn't figure out, neither from the docs nor from reading the code, how to create a proper ReplyMessage; it then came down to understanding the raw DBus API to know what i was doing or needed to do but that was at this point beyond me, and shouldn't be needed (same as reading the original source of dbus-c++ should normally not be needed) when using the bindings. Overall i'd say that dbus-c++ is usable, but some things aren't clear and you would need someone to explain them to you unless you're a DBus crack or something.

2008/8/25 Marko Anastasov <marko anastasov gmail com>
Hi all,
My impression has been that occasionally projects are being started
which attempt to provide a C++ API for D-Bus but never go far,
or just I don't hear anybody talking about one and using it.

Has this changed? I'm about to start a project where there will
would be a desktop service over D-Bus. What you would do,
what are the experiences?

   Marko
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list



--
Please note that according to the German law on data retention,
information on every electronic information exchange with me is
retained for a period of six months.
[Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]