зеркало из https://github.com/mozilla/pjs.git
Bye bye, RDF AppCore.
This commit is contained in:
Родитель
85dd7df113
Коммит
bd8b9f0a76
|
@ -32,7 +32,6 @@ IDLSRCS= \
|
|||
AppCoresManager.idl \
|
||||
BaseAppCore.idl \
|
||||
BrowserAppCore.idl \
|
||||
RDFCore.idl \
|
||||
ProfileCore.idl \
|
||||
ToolkitCore.idl
|
||||
!endif
|
||||
|
|
Двоичные данные
xpfe/AppCores/macbuild/AppCores.mcp
Двоичные данные
xpfe/AppCores/macbuild/AppCores.mcp
Двоичный файл не отображается.
|
@ -35,8 +35,6 @@ MODULE=raptor
|
|||
CPPSRCS= \
|
||||
nsBaseAppCore.cpp \
|
||||
nsProfileCore.cpp \
|
||||
nsRDFCore.cpp \
|
||||
nsRDFCoreFactory.cpp \
|
||||
nsAppCoresNameSet.cpp \
|
||||
nsToolkitCore.cpp \
|
||||
nsBrowserAppCore.cpp \
|
||||
|
@ -48,7 +46,6 @@ CPPSRCS= \
|
|||
nsJSBaseAppCore.cpp \
|
||||
nsJSAppCoresManager.cpp \
|
||||
nsJSProfileCore.cpp \
|
||||
nsJSRDFCore.cpp \
|
||||
nsJSToolkitCore.cpp \
|
||||
nsJSBrowserAppCore.cpp \
|
||||
nsAppCores.cpp \
|
||||
|
|
|
@ -77,8 +77,6 @@ LLIBS = \
|
|||
OBJS = \
|
||||
.\$(OBJDIR)\nsBaseAppCore.obj \
|
||||
.\$(OBJDIR)\nsProfileCore.obj \
|
||||
.\$(OBJDIR)\nsRDFCore.obj \
|
||||
.\$(OBJDIR)\nsRDFCoreFactory.obj \
|
||||
.\$(OBJDIR)\nsAppCoresNameSet.obj \
|
||||
.\$(OBJDIR)\nsToolkitCore.obj \
|
||||
.\$(OBJDIR)\nsToolkitCoreFactory.obj \
|
||||
|
@ -90,7 +88,6 @@ OBJS = \
|
|||
.\$(OBJDIR)\nsJSBaseAppCore.obj \
|
||||
.\$(OBJDIR)\nsJSAppCoresManager.obj \
|
||||
.\$(OBJDIR)\nsJSProfileCore.obj \
|
||||
.\$(OBJDIR)\nsJSRDFCore.obj \
|
||||
.\$(OBJDIR)\nsJSToolkitCore.obj \
|
||||
.\$(OBJDIR)\nsJSBrowserAppCore.obj \
|
||||
.\$(OBJDIR)\nsAppCores.obj \
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "nsAppCoresCIDs.h"
|
||||
#include "nsAppCoresManagerFactory.h"
|
||||
#include "nsProfileCoreFactory.h"
|
||||
#include "nsRDFCoreFactory.h"
|
||||
#include "nsBrowserAppCoreFactory.h"
|
||||
#include "nsToolkitCoreFactory.h"
|
||||
#include "nsIFactory.h"
|
||||
|
@ -36,7 +35,6 @@ static PRInt32 gInstanceCnt = 0;
|
|||
static NS_DEFINE_CID(kComponentManagerCID, NS_COMPONENTMANAGER_CID);
|
||||
static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
|
||||
static NS_DEFINE_IID(kProfileCoreCID, NS_PROFILECORE_CID);
|
||||
static NS_DEFINE_IID(kRDFCoreCID, NS_RDFCORE_CID);
|
||||
static NS_DEFINE_IID(kToolkitCoreCID, NS_TOOLKITCORE_CID);
|
||||
static NS_DEFINE_IID(kBrowserAppCoreCID, NS_BROWSERAPPCORE_CID);
|
||||
static NS_DEFINE_IID(kAppCoresManagerCID, NS_APPCORESMANAGER_CID);
|
||||
|
@ -58,7 +56,6 @@ NSRegisterSelf(nsISupports* serviceMgr, const char *path)
|
|||
printf("*** AppCores object is being registered\n");
|
||||
nsComponentManager::RegisterComponent(kAppCoresManagerCID, NULL, NULL, path, PR_TRUE, PR_TRUE);
|
||||
nsComponentManager::RegisterComponent(kProfileCoreCID, NULL, NULL, path, PR_TRUE, PR_TRUE);
|
||||
nsComponentManager::RegisterComponent(kRDFCoreCID, 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);
|
||||
|
||||
|
@ -72,7 +69,6 @@ NSUnregisterSelf(nsISupports* serviceMgr, const char *path)
|
|||
|
||||
nsComponentManager::UnregisterComponent(kAppCoresManagerCID, path);
|
||||
nsComponentManager::UnregisterComponent(kProfileCoreCID, path);
|
||||
nsComponentManager::UnregisterComponent(kRDFCoreCID, path);
|
||||
nsComponentManager::UnregisterComponent(kToolkitCoreCID, path);
|
||||
nsComponentManager::UnregisterComponent(kBrowserAppCoreCID, path);
|
||||
|
||||
|
@ -104,10 +100,6 @@ NSGetFactory(nsISupports* serviceMgr,
|
|||
{
|
||||
inst = new nsProfileCoreFactory();
|
||||
}
|
||||
else if ( aClass.Equals(kRDFCoreCID) )
|
||||
{
|
||||
inst = new nsRDFCoreFactory();
|
||||
}
|
||||
else if ( aClass.Equals(kToolkitCoreCID) )
|
||||
{
|
||||
inst = new nsToolkitCoreFactory();
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "nsIDOMAppCoresManager.h"
|
||||
#include "nsIDOMToolkitCore.h"
|
||||
#include "nsIDOMProfileCore.h"
|
||||
#include "nsIDOMRDFCore.h"
|
||||
#include "nsIDOMBrowserAppCore.h"
|
||||
#include "nsAppCoresCIDs.h"
|
||||
|
||||
|
@ -36,7 +35,6 @@ static NS_DEFINE_IID(kIScriptExternalNameSetIID, NS_ISCRIPTEXTERNALNAMESET_IID);
|
|||
static NS_DEFINE_IID(kAppCoresCID, NS_APPCORESMANAGER_CID);
|
||||
static NS_DEFINE_IID(kToolkitCoreCID, NS_TOOLKITCORE_CID);
|
||||
static NS_DEFINE_IID(kProfileCoreCID, NS_PROFILECORE_CID);
|
||||
static NS_DEFINE_IID(kRDFCoreCID, NS_RDFCORE_CID);
|
||||
static NS_DEFINE_IID(kBrowserAppCoreCID, NS_BROWSERAPPCORE_CID);
|
||||
|
||||
nsAppCoresNameSet::nsAppCoresNameSet()
|
||||
|
@ -64,7 +62,6 @@ nsAppCoresNameSet::InitializeClasses(nsIScriptContext* aScriptContext)
|
|||
result = NS_InitProfileCoreClass(aScriptContext, nsnull);
|
||||
result = NS_InitBrowserAppCoreClass(aScriptContext, nsnull);
|
||||
result = NS_InitToolkitCoreClass(aScriptContext, nsnull);
|
||||
result = NS_InitRDFCoreClass(aScriptContext, nsnull);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
@ -87,14 +84,6 @@ nsAppCoresNameSet::AddNameSet(nsIScriptContext* aScriptContext)
|
|||
|
||||
if (NS_OK != result) return result;
|
||||
|
||||
|
||||
|
||||
result = manager->RegisterGlobalName("RDFCore",
|
||||
kRDFCoreCID,
|
||||
PR_TRUE);
|
||||
|
||||
if (NS_OK != result) return result;
|
||||
|
||||
result = manager->RegisterGlobalName("ToolkitCore",
|
||||
kToolkitCoreCID,
|
||||
PR_TRUE);
|
||||
|
|
Загрузка…
Ссылка в новой задаче