You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
nsIModule
This interface handles module registration and management. It is scriptable.
Obtains a factory object from an
nsIModule
for a given CID and IID pair.Syntax:
void nsIModule::getClassObject( in nsIComponentManager aCompMgr, in nsCIDRef aClass,in nsIIDRef aIID, [retval, iid_is(aIID)] out nsQIResult aResult)Parameters:
nsresult:
Registers module with the Component Manager.
Syntax:
void nsIModule::registerSelf( in nsIComponentManager aCompMgr,in nsIFile aLocation, in string aLoaderStr,in string aType)Parameters:
nsresult:
Unregisters module with the Component Manager.
Syntax:
void nsIModule::unregisterSelf( in nsIComponentManager aCompMgr, in nsIFile aLocation,in string aLoaderStr)Parameters:
nsresult:
Indicates that the module is willing to be unloaded. This does not guarantee that the module will be unloaded.
Syntax:
boolean nsIModule::canUnload( in nsIComponentManager aCompMgr)Parameters:
Return:
Written by:Ellen Evans | Comments, questions, complaints?
Bug 143387 |