mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
Add some debug code to figure out when the messenger dll gets loaded....
This commit is contained in:
parent
285600822e
commit
4777688b1f
@ -130,7 +130,7 @@ NSGetFactory(const nsCID &aClass,
|
||||
nsISupports *serviceMgr,
|
||||
nsIFactory **aFactory)
|
||||
{
|
||||
#ifdef DEBUG_alecf
|
||||
#ifdef DEBUG
|
||||
printf("messenger: NSGetFactory()\n");
|
||||
#endif
|
||||
if (nsnull == aFactory)
|
||||
@ -149,7 +149,7 @@ NSGetFactory(const nsCID &aClass,
|
||||
PRBool
|
||||
NSCanUnload()
|
||||
{
|
||||
#ifdef DEBUG_alecf
|
||||
#ifdef DEBUG
|
||||
printf("messenger: NSCanUnload()\n");
|
||||
#endif
|
||||
return PRBool(g_InstanceCount == 0 && g_LockCount == 0);
|
||||
@ -158,7 +158,7 @@ NSCanUnload()
|
||||
nsresult
|
||||
NSRegisterSelf(const char *fullpath)
|
||||
{
|
||||
#ifdef DEBUG_alecf
|
||||
#ifdef DEBUG
|
||||
printf("messenger: NSRegisterSelf()\n");
|
||||
#endif
|
||||
return nsRepository::RegisterFactory(kCMsgAppCoreCID, fullpath,
|
||||
@ -168,7 +168,7 @@ NSRegisterSelf(const char *fullpath)
|
||||
nsresult
|
||||
NSUnregisterSelf(const char *fullpath)
|
||||
{
|
||||
#ifdef DEBUG_alecf
|
||||
#ifdef DEBUG
|
||||
printf("messenger: NSUnregisterSelf()\n");
|
||||
#endif
|
||||
return nsRepository::UnregisterFactory(kCMsgAppCoreCID, fullpath);
|
||||
|
Loading…
Reference in New Issue
Block a user