Hi,

I'm a developer working on a mozilla embedded project. My groups want the
HTML document on the browser to interact with the events raising from the
realtime applications.
I need some information about the possibility to create new type of event
and
fire it from an XPCOM object (C++) to the HTML document on the browser.

Following you can find pieces of code that I want to write:

//XPCOM object C++

... myMethod(...)
{
....

  fireToHtml(myEvent);
....
}

//XPCOM object end


<!-- HTML page>
....
<HTMLTAG onMyEvent="handleMyEvent();">
.....

I hope that my question is clear and that it possible to do what I want.

All comments, references to docs, CODE SAMPLES, general ideas are welcome.

Thanks,
Vitt




Reply via email to