On Wed, 06 Jun 2001 14:43:26 GMT, Steven Katz <[EMAIL PROTECTED]>
wrote:

>Could someone describe for me what an OJI plugin needs to do with
>respects to implementing nsIModule?  I'm an interested in understanding
>how the browser queries the DLL that contains the plugin.

Here are some simple uses of nsIModule that you can glean some info
from:
http://lxr.mozilla.org/seamonkey/source/xpcom/sample/nsSampleModule.cpp
http://lxr.mozilla.org/seamonkey/source/modules/plugin/test/npsimple.cpp#365


>Under the current, documented, scheme the browser looks for a function
>[NSGetFactory()] and uses that to create instances of plugins.

You mean 'under the old scheme that's been deprecated for over a
year'? :)


>How does the switch to nsIModule effect this?

It's similar - see above examples.


>Also, I what version of the broswer was support for nsIModule introduced?

Looks like it's been around since before any of the 6.0 preview
releases:
http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/xpcom/components/nsIModule.idl


Reply via email to