Sean,
Thanks for the pointer, but I don't understand a few things.
The example doen't seem to implement nsIModule anywhere. From what little
information I have been able to find it seems to me that this interface is
needed (to replace the individual calls NS*).
Since this method of creating pliugins has been around for over a year, it must
be documented somewhere. Could you point me at the appropriate documentation?
The only documentation about plugins I have been able to find on the mozilla
website is for the "old" way (NSGetFactory() etc).
thanks for the response,
stevek
In article <[EMAIL PROTECTED]>, Sean Echevarria says...
>
>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
>