|
|
|
|
|
|
|
|
|
|
|
|
l |
Code
in a DLL in components directory
|
|
l |
XPCOM
looks for new DLLs at startup
|
|
|
l |
1
exported symbol:
|
|
|
nsresult NSGetModule(nsIModule
**aResult);
|
|
|
l |
nsIModule handles:
|
|
|
|
• |
Registration/unregistration
|
|
|
|
• |
Creation
of all registered objects in the DLL
|
|
|
|
• |
Ability
to unload
|
|