On Friday, October 4, 2013 6:16:36 PM UTC+5:30, Bobby Holley wrote: > On Fri, Oct 4, 2013 at 2:36 PM, <vasuyadavkri...@gmail.com> wrote: > > > > > Based on my understanding, I need to create a JS XPCOM component apart > > > from the existing C++ XPCOM component I already have. All the JavaScript > > > function calls need to be made from JS XPCOM component. > > > > > > > Precisely. > > > > > > > How will the C++ XPCOM and JS XPCOM communicate to each other? Can we > > > instantiate JS XPCOM component from C++ XPCOM Component? > > > > > > > Yes. The great the about XPCOM components is that they can be instantiated > > and manipulated in either C++ or JS - the language of the implementation > > doesn't matter. > > > > > > > > I want to deliver only one .xpi to my customers. I hope it is possible to > > > package both C++ XPCOM and JS XPCOM components in the same .xpi file. > > > Please let me know if this is possible and whether you see any problems in > > > this approach. > > > > > > > Yep, that should work just fine. > > > > Here are some links that might be useful: > > > > https://developer.mozilla.org/en/docs/How_to_Build_an_XPCOM_Component_in_Javascript > > http://kb.mozillazine.org/Implementing_XPCOM_components_in_JavaScript > > > > bholley
Thanks a lot Bholley for too quick reply!! _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform