Header namespacing

Kevin Krammer kevin.krammer at gmx.at
Wed Dec 14 12:21:10 PST 2005


Hi folks,

I am currently working on a Qt3 backport of the Qt4 DBUS bindings.

In a full DBUS install this would currently result in one Qt binding 
overwriting the other's headers.

How do other binding developers plan to handle the version change situation?

Include the version number in the filename, e.g.
dbus-1.0/dbus/q3dbus.h and dbus-1.0/dbus/q4dbus.h?

Or in a subdirectory of the top level dbus include directory e.g.
dbus-1.0/qt3/dbus/qdbus.h and dbus-1.0/qt4/dbus/qdbus.h?

Or with the dbus/ directory, e.g
dbus-1.0/dbus/qt3/qdbus.h and dbus-1.0/dbus/qt4/qdbus.h?

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20051214/2a81c62d/attachment.pgp


More information about the dbus mailing list