Sounds very interesting. We talked a bit about doing something like that in general, but found that it was good to have the extra layer of insulations from changes to the underlying API.
However it may well be a good idea for DOM access. And having it automated would definitely be very cool :) Would you be able to share some of your code for us to see? -Pelle mlutken wrote: > 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
