GetAllProfiles();
rv = GetAllProfiles(); if (NS_FAILED(rv)) return rv;
NS_IMETHODIMP nsProfile::GetProfileList(nsString& profileList){#if defined(DEBUG_profile)	printf("Inside GetProfileList routine.\n" );#endif	GetAllProfiles();	for (int i=0; i < g_numProfiles; i++)	{		if (i != 0)		{			profileList += ",";		}		profileList += gProfiles[i];	}	return NS_OK;}