Add some debug code to figure out when the messenger dll gets loaded....

This commit is contained in:
mscott%netscape.com 1999-02-17 08:14:46 +00:00
parent 285600822e
commit 4777688b1f

View File

@ -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);