Jonathan Le wrote:

Hey guys,

just one quick question: for each header or interface that is included in an
embedding application, does the corresponding .XPT file need to also be
included in your embedding application's distro?

Thanks


_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding



The xpt files are only needed to enable other languages such as JavaScript to talk to XPCOM components. If you determine that no JavaScript needs a particular interface, then you can likely eliminate the XPT file. However, there are other cases where interface reflection is used. XPCOM proxy objects (http://www.mozilla.org/projects/xpcom/Proxies.html) are good examples of C++ only uses of XPT files.


-Darin
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to