printf("Register %s => %s\n", contractid, aPath);
PRINTF("Register %s => %s\n", contractid, aPath);
RegisterTypes(nsIComponentManager* aCompMgr,              const char* aCommand,              nsIFile* aPath,              char** aTypes){  nsresult rv = NS_OK;  while (*aTypes) {    char contractid[500];    char* contentType = *aTypes++;    PR_snprintf(contractid, sizeof(contractid),                NS_DOCUMENT_LOADER_FACTORY_CONTRACTID_PREFIX "%s;1?type=%s",                aCommand, contentType);#ifdef NOISY_REGISTRY    printf("Register %s => %s\n", contractid, aPath);#endif    rv = aCompMgr->RegisterComponentSpec(kDocumentFactoryImplCID, "Layout",                                         contractid, aPath, PR_TRUE, PR_TRUE);    if (NS_FAILED(rv)) {      break;    }  }  return rv;}