I have written some initial documentation for the new embedding API we
are working on. This is still very early in the process, so things may
yet change quite a bit. Any feedback appreciated.
http://wiki.mozilla.org/Embedding/NewApi/GtkLinux
-Pelle
-Martin Lütken
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 .
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
It is not polished and I use macros because I was lazy, but anyway it
works nicely.
I also would recommend using boost::signals or similar method for
events relaying.
-Martin Lütken