How to raise events from plugins and receive it in embedding application?

2009-08-21 Thread ra
Hi all, I have embedded gecko 1.8.1 into a MFC application. There are also some custom XPCOM plugins. The plugins should send events to the embedding application. Any documentation, samples, hints for code reading telling me how to do this are welcome. regards, Rainer

Re: How to raise events from plugins and receive it in embedding application?

2009-08-21 Thread steve lu
Look up these interfaces: nsIObserver and nsIObserverService. This is how Firefox notify all XPCOM components that it is about to shutdown. Steve ra wrote: Hi all, I have embedded gecko 1.8.1 into a MFC application. There are also some custom XPCOM plugins. The plugins should send events