=2D----BEGIN PGP SIGNED MESSAGE-----
On Wed, 19 Nov 2003 05:50 am, Johannes Erdfelt wrote:
> I've thought about C++ bindings a bit in the past and this is
> surprisingly similar to what I was thinking of.
The changes that I considered were dropping out the Configuration and=20
AltSetting classes, an just having some way to select a particular=20
configuration of a Device class and alternative setting of an Interface cla=
(plus being able to get the descriptors in some way). I'd particularly=20
appreciate thoughts on this - in reality, a Configuration is just a state o=
a Device, and an AltSetting is just a state of an Interface, and a classes=
can maintain state internally very easily - its one of the few joys of Obje=
I also thought about dropping out everything below Device (ie no=20
Configuration, Interface, AltSetting or Endpoint) but that got too complex=
pretty quickly - I think this is a dead end.
> FWIW, I'd prefer STL over Qt for the fact the STL is a standard. I
> haven't looked at the Qt templates to know if there is anything it
> provides that STL doesn't or makes difficult.
I'm more familiar with Qt, and the intended use is in KDE, so I went with t=
in development. I don't expect any architectural issues going to STL based =
the current design. Qt is making the test apps slow to load though.
The rest of the stuff to build it (since someone asked :-) is attached. Ple=
let me know if you have any problems. The Doxygen stuff requires the=20
generation tool from http://www.doxygen.org, and is generated with "make=20
http://lca2004.linux.org.au - I'm registered. Are you?
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
=2D----END PGP SIGNATURE-----