diff --git a/xpfe/AppCores/src/nsAppCores.cpp b/xpfe/AppCores/src/nsAppCores.cpp index 3fae0a835bb0..42f3c5a387b8 100644 --- a/xpfe/AppCores/src/nsAppCores.cpp +++ b/xpfe/AppCores/src/nsAppCores.cpp @@ -77,7 +77,7 @@ NSRegisterSelf(nsISupports* serviceMgr, const char *path) nsComponentManager::RegisterComponent(kToolbarCoreCID, NULL, NULL, path, PR_TRUE, PR_TRUE); nsComponentManager::RegisterComponent(kToolkitCoreCID, NULL, NULL, path, PR_TRUE, PR_TRUE); nsComponentManager::RegisterComponent(kBrowserAppCoreCID, NULL, NULL, path, PR_TRUE, PR_TRUE); - nsComponentManager::RegisterComponent(kEditorAppCoreCID, NULL, NULL, path, PR_TRUE, PR_TRUE); + //nsComponentManager::RegisterComponent(kEditorAppCoreCID, NULL, NULL, path, PR_TRUE, PR_TRUE); return NS_OK; } @@ -96,7 +96,7 @@ NSUnregisterSelf(nsISupports* serviceMgr, const char *path) nsComponentManager::UnregisterComponent(kToolbarCoreCID, path); nsComponentManager::UnregisterComponent(kToolkitCoreCID, path); nsComponentManager::UnregisterComponent(kBrowserAppCoreCID, path); - nsComponentManager::UnregisterComponent(kEditorAppCoreCID, path); + //nsComponentManager::UnregisterComponent(kEditorAppCoreCID, path); return NS_OK; } @@ -158,10 +158,12 @@ NSGetFactory(nsISupports* serviceMgr, { inst = new nsBrowserAppCoreFactory(); } +/* else if ( aClass.Equals(kEditorAppCoreCID) ) { inst = new nsEditorAppCoreFactory(); } +*/ else { return NS_ERROR_ILLEGAL_VALUE; diff --git a/xpfe/AppCores/src/nsAppCoresNameSet.cpp b/xpfe/AppCores/src/nsAppCoresNameSet.cpp index 4f8ff1f02a90..7b9229637f2a 100644 --- a/xpfe/AppCores/src/nsAppCoresNameSet.cpp +++ b/xpfe/AppCores/src/nsAppCoresNameSet.cpp @@ -80,7 +80,7 @@ nsAppCoresNameSet::InitializeClasses(nsIScriptContext* aScriptContext) result = NS_InitProfileCoreClass(aScriptContext, nsnull); result = NS_InitToolbarCoreClass(aScriptContext, nsnull); result = NS_InitBrowserAppCoreClass(aScriptContext, nsnull); - result = NS_InitEditorAppCoreClass(aScriptContext, nsnull); + //result = NS_InitEditorAppCoreClass(aScriptContext, nsnull); result = NS_InitToolkitCoreClass(aScriptContext, nsnull); result = NS_InitRDFCoreClass(aScriptContext, nsnull); @@ -160,13 +160,13 @@ nsAppCoresNameSet::AddNameSet(nsIScriptContext* aScriptContext) PR_TRUE); if (NS_OK != result) return result; - +/* result = manager->RegisterGlobalName("EditorAppCore", kEditorAppCoreCID, PR_TRUE); if (NS_OK != result) return result; - +*/ result = manager->RegisterGlobalName("XPAppCoresManager", kAppCoresCID, PR_FALSE);