My C++ wrapper for D-BUS
Murray Cumming
murrayc at murrayc.com
Thu Sep 15 23:32:48 PDT 2005
On Tue, 2005-08-09 at 14:06 +0200, David Eriksson wrote:
> Hi,
>
> As Paul Durante were also doing his own C++ bindings for D-BUS instead
> of using the Freedesktop-sponsored C++ bindings [1], I might just as
> well confess I was hit my by the NIH syndrome [2] and also wrote a C++
> wrapper for the D-BUS API. It's not finished yet but it contains enough
> for my needs at the moment.
It would be nice if people could get together and work on one finished
binding. Personally I'd really like a pure C++ API that doesn't depend
on glibmm or Qt (though libsigc++ would be OK if needed).
That needs a little cleverness to allow integration with whatever main
loop is used by the application. I started a second (also unfinished,
due to time) dbus C++ API, as a wrapper of the dbus-glib API, in order
to avoid that mainloop-integration problem.
[snip]
> - Any C++ users who for various reasons are not using Boost [3] might
> not like my bindings because I depend on boost::shared_ptr.
boost is not meant to be a stable API and does not allow parallel
installation when they break API. It's not something that should be used
in other APIs that should be stable. shared_ptrs are easy to implement -
I think I put one in the dbus-cpp code.
[snip]
--
Murray Cumming
murrayc at murrayc.com
www.murrayc.com
www.openismus.com
More information about the dbus
mailing list