
nsIModule
This interface handles module registration and management. It is scriptable.
Obtains a factory object from an
nsIModulefor 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 |