extern "C" NS_EXPORT nsresult NSRegisterSelf(nsISupports* serviceMgr, const char *path)
extern "C" NS_EXPORT nsresult NSRegisterSelf(nsISupports* aServMgr, const char *path)
extern "C" NS_EXPORT nsresult NSRegisterSelf(nsISupports* serviceMgr, const char *path){  return nsRepository::RegisterComponent(kIGuiManagerFactoryIID,                                       NULL, NULL, path,                                       PR_TRUE, PR_TRUE);}