I have tried incapsulating some of the core DOM interfaces into STL/
stdc++ like ones. It seems to work pretty well. I have iterates for
collections, lists and everywhere I use std::string. Also I have tried
to mimic the javascript naming and interface as much as possible. So I
return values instead of just the error result and so on.

It is notcomplete but it is good enough for my purpose but perhaps the
ideas could be used in this context. I also have had some wild toughts
about whether itwould be possible to extens the XPIDL "compiler" to
also generate those STL like interfaces automatically .
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to