nsComponentManager::RegisterComponent(kProxyObjectManagerCID, NULL, NULL, LIBPROXY_DLL,
nsComponentManager::RegisterComponent(kProxyObjectManagerCID, NULL, NULL, XPCOM_DLL,
NS_SetupRegistry(){  // Autoregistration happens here. The rest of RegisterComponent() calls should happen  // only for dlls not in the components directory.  // Create exeDir/"components"  nsSpecialSystemDirectory sysdir(nsSpecialSystemDirectory::OS_CurrentProcessDirectory);  sysdir += "components";  const char *componentsDir = sysdir.GetCString(); // native path  if (componentsDir != NULL)  {#ifdef XP_PC      /* The PC version of the directory from filePath is of the form       *    /y|/moz/mozilla/dist/bin/components       * We need to remove the initial / and change the | to :       * for all this to work with NSPR.             */#endif /* XP_PC */      printf("nsComponentManager: Using components dir: %s\n", componentsDir);#ifdef XP_MAC      nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, nsnull);#else      nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, componentsDir);#endif    /* XP_MAC */      // XXX Look for user specific components      // XXX UNIX: ~/.mozilla/components  }    nsComponentManager::RegisterComponent(kAllocatorCID, NULL, NULL, XPCOM_DLL,                                    PR_FALSE, PR_FALSE);    nsComponentManager::RegisterComponent(kProxyObjectManagerCID, NULL, NULL, LIBPROXY_DLL,                                    PR_FALSE, PR_FALSE);}