On Thu, 07 Jun 2001 15:18:18 GMT, Stevn Katz <[EMAIL PROTECTED]>
wrote:
>
>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*).
In npSimple.cpp it's implemented via the nsModuleComponentInfo struct
at line 365, the NS_IMPL_NSGETMODULE macro at line 374 and via the
SimplePluginInstance::Create, SimplePluginInstance::RegisterSelf,
SimplePluginInstance::UnregisterSelf implementations (as referenced in
the instance of the nsModuleComponentInfo struct, gComponentInfo at
line 365).
>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?
(hysterical laughing ensues...)
Sample code and newsgroup postings.