|
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
NSGetFactory(
)
|
|
|
|
|
new mozHelloFactory();
|
|
|
|
NSRegisterSelf(
)
|
|
|
|
|
nsComponentManager::RegisterComponent(
);
|
|
|
|
|
CLSID, class name, ProgID, path...
|
|
|
|
NSUnregisterSelf(
)
|
|
|
|
|
nsComponentManager::UnregisterComponent(
);
|
|
|
NSCanUnload(
)
|
|
|
|
|
Return PR_TRUE if the component can be unloaded.
|
|
|
|
NSGetModule(
) will replace all these
|
|
|
|