return nsRepository::RegisterFactory(kTestLoadedFactoryCID, path,
return NSRepository::RegisterFactory(kTestLoadedFactoryCID, path,
extern "C" NS_EXPORT nsresult NSRegisterSelf(const char *path){  return nsRepository::RegisterFactory(kTestLoadedFactoryCID, path,                                        PR_TRUE, PR_TRUE);}