dbus adaptors (Re: KDE/kdelibs)

Matthias Kretz kretz at kde.org
Sun Jul 9 14:45:01 BST 2006


On Saturday 08 July 2006 16:47, David Faure wrote:
> Anyway, in konqueror I even decided to do otherwise... Since the adaptors
> need code that is specific to those exported methods (which I don't really
> want in the main qobject), the adaptor is hand written (and does not just
> forward calls, it actually has logic). It's the xml that I regenerate from
> the adaptor when modifying the interface... I think this approach makes
> more sense since I can modify the interface using C++, which is more
> convenient/intuitive than writing xml (which requires knowing the dbus type
> codes etc.).

This is probably useful in many cases. The workflow:
create interface in xml
-> create adaptor with dbusxml2cpp -a
when you change the adaptor call dbuscpp2xml on the adaptor

For proxies autogenerate the code from the XML. I don't see a need for editing 
the proxy code.

-- 
C'ya
        Matthias
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060709/44097a92/attachment.sig>


More information about the kde-core-devel mailing list