mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-06 00:10:25 +00:00
EditorAppCore is dead. Long live EditorAppCore!
This commit is contained in:
parent
13b35c5300
commit
fc814c5166
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user