nsSpecialFileSpec::App_UserProfileDirectory50);
nsSpecialFileSpec::App_ComponentsDirectory);
nsresult NS_AutoregisterComponents(){  nsIFileSpec* spec = NS_LocateFileOrDirectory(  							nsSpecialFileSpec::App_UserProfileDirectory50);  if (!spec)  	return NS_ERROR_FAILURE;  char *componentsDirPath;  nsresult rv = spec->GetNSPRPath(&componentsDirPath);  if (NS_FAILED(rv))    return rv;  if (componentsDirPath)    rv = nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, componentsDirPath);  NS_RELEASE(spec);  return rv;}