JanakiRam wrote:

>            Is there any way to use ObjC Files with XPCOM C++ Sources.
> If so please provide some way(s) to how to package & build my XPCOM
> Sources with XULRunner Sources.

Yes. You need to use objective C++... a class can implement a C++ base class
(XPCOM interface) as well as objective C/C++ types and the implementation
can call objective C/C++ methods.

>            Are there any XPCOM Components built using C++ & Objective-
> C. If so proivde the references of those.

Yes. The sources in the mozilla source tree with an .mm extension are
objective-c++, and a fair number of these are component code.

See
http://mxr.mozilla.org/mozilla/find?string=mm%24
http://mxr.mozilla.org/mozilla/source/toolkit/components/alerts/src/mac/nsAlertsService.mm

P.S. when cross-posting liberally like this, please set a Followup-To header
so that all the newsgroups aren't spammed.

--BDS
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to