remove wallet viewers from appcore

This commit is contained in:
morse%netscape.com 1999-06-19 21:12:44 +00:00
Родитель fdc1b3c20b
Коммит db7c88a9a4
11 изменённых файлов: 4 добавлений и 221 удалений

Просмотреть файл

@ -34,9 +34,6 @@ IDLSRCS= \
BrowserAppCore.idl \
DOMPropsCore.idl \
EditorAppCore.idl \
SignonCore.idl \
CookieCore.idl \
WalletCore.idl \
RDFCore.idl \
ProfileCore.idl \
ToolkitCore.idl

Просмотреть файл

@ -28,9 +28,6 @@ EXPORTS = \
nsIDOMBaseAppCore.h \
nsIDOMDOMPropsCore.h \
nsIDOMEditorAppCore.h \
nsIDOMSignonCore.h \
nsIDOMCookieCore.h \
nsIDOMWalletCore.h \
nsIDOMProfileCore.h \
nsIDOMRDFCore.h \
nsIDOMToolkitCore.h \

Просмотреть файл

@ -25,9 +25,6 @@ EXPORTS= \
nsIDOMAppCoresManager.h \
nsIDOMBaseAppCore.h \
nsIDOMDOMPropsCore.h \
nsIDOMSignonCore.h \
nsIDOMCookieCore.h \
nsIDOMWalletCore.h \
nsIDOMProfileCore.h \
nsIDOMRDFCore.h \
nsIDOMToolkitCore.h \

Просмотреть файл

@ -1,120 +0,0 @@
#ifndef nsAppCoresCIDs_h___
#define nsAppCoresCIDs_h___
#define NS_APPCORESMANAGER_CID \
{ /* B2A68893-BFA2-11d2-96C8-0060B0FB9956 */ \
0xb2a68893, 0xbfa2, 0x11d2, { 0x96, 0xc8, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } \
}
#define NS_APPCORESFACTORY_CID \
{ /* B2A68894-BFA2-11d2-96C8-0060B0FB9956 */ \
0xb2a68894, 0xbfa2, 0x11d2, { 0x96, 0xc8, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \
}
#define NS_DOMPROPSCORE_CID \
{ /* D23EC5D6-E91E-11D2-AAD6-00805F8A4905 */ \
0xd23ec5d6, 0xe91e, 0x11d2, { 0xaa, 0xd6, 0x0, 0x80, 0x5f, 0x8a, 0x49, 0x5 } \
}
#define NS_MAILCORE_CID \
{ /* B2A68895-BFA2-11d2-96C8-0060B0FB9956 */ \
0xb2a68895, 0xbfa2, 0x11d2, { 0x96, 0xc8, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \
}
#define NS_SIGNONCORE_CID \
{ /* {96A79E90-0E30-11d3-AB9F-0080C787AD96 */ \
0x96a79e90, 0xe30, 0x11d3, { 0xab, 0x9f, 0x0, 0x80, 0xc7, 0x87, 0xad, 0x96} \
}
#define NS_COOKIECORE_CID \
{ /* {76C2DCD0-191F-11d3-ABA7-0080C787AD96 */ \
0x76c2dcd0, 0x191f, 0x11d3, { 0xab, 0xa7, 0x0, 0x80, 0xc7, 0x87, 0xad, 0x96} \
}
#define NS_WALLETCORE_CID \
{ /* {9D6E2541-108B-11d3-ABA3-0080C787AD96 */ \
0x9d6e2541, 0x108b, 0x11d3, { 0xab, 0xa3, 0x0, 0x80, 0xc7, 0x87, 0xad, 0x96} \
}
#define NS_PROFILECORE_CID \
{ /* 3c6dac41-f917-11d2-9f5c-006008a6efe9 */ \
0x3c6dac41, 0xf917, 0x11d2, { 0x9f, 0x5c, 0x00, 0x60, 0x08, 0xa6, 0xef, 0xe9} \
}
#define NS_RDFCORE_CID \
{ /* 22dcf4e0-cd1d-11d2-8b7e-00805f8a7db5 */ \
0x22dcf4e0, 0xcd1d, 0x11d2, { 0x8b, 0x7e, 0x0, 0x80, 0x5f, 0x8a, 0x7d, 0xb5} \
}
#define NS_MAILCOREFACTORY_CID \
{ /* B2A68896-BFA2-11d2-96C8-0060B0FB9956 */ \
0xb2a68896, 0xbfa2, 0x11d2, { 0x96, 0xc8, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } \
}
#define NS_TOOLBARCORE_CID \
{ /* BF4AE23E-BA9B-11d2-96C4-0060B0FB9956 */ \
0xbf4ae23e, 0xba9b, 0x11d2, \
{0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \
}
#define NS_TOOLBARCORE_FACTORY_CID \
{ /* BF4AE23F-BA9B-11d2-96C4-0060B0FB9956 */ \
00xbf4ae23f, 0xba9b, 0x11d2, \
{0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \
}
#define NS_BROWSERAPPCORE_CID \
{ /* BF4AE23E-BA9B-11d2-96C4-0060B0FB9956 */ \
0x108d75a0, 0xbab5, 0x11d2, \
{0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \
}
#define NS_BROWSERAPPCORE_FACTORY_CID \
{ /* BF4AE23F-BA9B-11d2-96C4-0060B0FB9956 */ \
0x108d759f, 0xbab5, 0x11d2, \
{0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \
}
#define NS_BROWSERAPPCORE_FACTORY_CID \
{ /* BF4AE23F-BA9B-11d2-96C4-0060B0FB9956 */ \
0x108d759f, 0xbab5, 0x11d2, \
{0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \
}
#define NS_TOOLKITCORE_CID \
{ /* 1cab9340-c122-11d2-81b2-0060083a0bcf */ \
0x1cab9340, 0xc122, 0x11d2, \
{0x81, 0xb2, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf} \
}
#define NS_TOOLKITCORE_FACTORY_CID \
{ /* 1cab9341-c122-11d2-81b2-0060083a0bcf */ \
0x1cab9341, 0xc122, 0x11d2, \
{0x81, 0xb2, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf} \
}
#define NS_THROBBERGLUE_FACTORY_CID \
{ /* 771C3121-BC44-11d2-8A3F-00805F8A6608 */ \
0x771c3121, 0xbc44, 0x11d2, \
{0x8a, 0x3f, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x8} \
}
#define NS_THROBBERGLUE_CID \
{ /* {7A3C4060-BC45-11d2-8A3F-00805F8A6608} */ \
0x7a3c4060, 0xbc45, 0x11d2, \
{ 0x8a, 0x3f, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x8 } \
}
#define NS_EDITORAPPCORE_CID \
{ /* {} */ \
0x9afff72b, 0xca9a, 0x11d2, \
{ 0x96, 0xc9, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } \
}
#define NS_EDITORAPPCORE_FACTORY_CID \
{ /* {739C5B4F-CA9D-11d2-96C9-0060B0FB9956} */ \
0x739c5b4f, 0xca9d, 0x11d2, \
{0x96, 0xc9, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \
}
#endif /* nsAppCoresCIDs_h___ */

Просмотреть файл

@ -36,18 +36,12 @@ CPPSRCS= \
nsBaseAppCore.cpp \
nsDOMPropsCore.cpp \
nsDOMPropsCoreFactory.cpp \
nsSignonCore.cpp \
nsCookieCore.cpp \
nsWalletCore.cpp \
nsProfileCore.cpp \
nsRDFCore.cpp \
nsRDFCoreFactory.cpp \
nsAppCoresNameSet.cpp \
nsToolkitCore.cpp \
nsBrowserAppCore.cpp \
nsSignonCoreFactory.cpp \
nsCookieCoreFactory.cpp \
nsWalletCoreFactory.cpp \
nsProfileCoreFactory.cpp \
nsToolkitCoreFactory.cpp \
nsBrowserAppCoreFactory.cpp \
@ -56,9 +50,6 @@ CPPSRCS= \
nsJSBaseAppCore.cpp \
nsJSAppCoresManager.cpp \
nsJSDOMPropsCore.cpp \
nsJSSignonCore.cpp \
nsJSCookieCore.cpp \
nsJSWalletCore.cpp \
nsJSProfileCore.cpp \
nsJSRDFCore.cpp \
nsJSToolkitCore.cpp \

Просмотреть файл

@ -69,9 +69,6 @@ OBJS = \
.\$(OBJDIR)\nsBaseAppCore.obj \
.\$(OBJDIR)\nsDOMPropsCore.obj \
.\$(OBJDIR)\nsDOMPropsCoreFactory.obj \
.\$(OBJDIR)\nsSignonCore.obj \
.\$(OBJDIR)\nsCookieCore.obj \
.\$(OBJDIR)\nsWalletCore.obj \
.\$(OBJDIR)\nsProfileCore.obj \
.\$(OBJDIR)\nsRDFCore.obj \
.\$(OBJDIR)\nsRDFCoreFactory.obj \
@ -79,9 +76,6 @@ OBJS = \
.\$(OBJDIR)\nsToolkitCore.obj \
.\$(OBJDIR)\nsToolkitCoreFactory.obj \
.\$(OBJDIR)\nsBrowserAppCore.obj \
.\$(OBJDIR)\nsSignonCoreFactory.obj \
.\$(OBJDIR)\nsCookieCoreFactory.obj \
.\$(OBJDIR)\nsWalletCoreFactory.obj \
.\$(OBJDIR)\nsProfileCoreFactory.obj \
.\$(OBJDIR)\nsBrowserAppCoreFactory.obj \
.\$(OBJDIR)\nsAppCoresManager.obj \
@ -89,9 +83,6 @@ OBJS = \
.\$(OBJDIR)\nsJSBaseAppCore.obj \
.\$(OBJDIR)\nsJSAppCoresManager.obj \
.\$(OBJDIR)\nsJSDOMPropsCore.obj \
.\$(OBJDIR)\nsJSSignonCore.obj \
.\$(OBJDIR)\nsJSCookieCore.obj \
.\$(OBJDIR)\nsJSWalletCore.obj \
.\$(OBJDIR)\nsJSProfileCore.obj \
.\$(OBJDIR)\nsJSRDFCore.obj \
.\$(OBJDIR)\nsJSToolkitCore.obj \
@ -105,10 +96,6 @@ install:: $(DLL)
$(MAKE_INSTALL) $(DLL) $(DIST)\bin
$(MAKE_INSTALL) .\$(OBJDIR)\$(MODULE).lib $(DIST)\lib
$(MAKE_INSTALL) ..\xul\SignonWindow.js $(DIST)\bin\res\samples
$(MAKE_INSTALL) ..\xul\CookieWindow.js $(DIST)\bin\res\samples
$(MAKE_INSTALL) ..\xul\WalletWindow.js $(DIST)\bin\res\samples
$(MAKE_INSTALL) ..\xul\resources\Mail_SendMsg.gif $(DIST)\bin\res\toolbar
$(MAKE_INSTALL) ..\xul\resources\Mail_GetMsg.gif $(DIST)\bin\res\toolbar
$(MAKE_INSTALL) ..\xul\resources\Mail_Reply.gif $(DIST)\bin\res\toolbar

Просмотреть файл

@ -20,9 +20,6 @@
#include "nsAppCoresCIDs.h"
#include "nsAppCoresManagerFactory.h"
#include "nsDOMPropsCoreFactory.h"
#include "nsSignonCoreFactory.h"
#include "nsCookieCoreFactory.h"
#include "nsWalletCoreFactory.h"
#include "nsProfileCoreFactory.h"
#include "nsRDFCoreFactory.h"
#include "nsBrowserAppCoreFactory.h"
@ -40,9 +37,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(kDOMPropsCoreCID, NS_DOMPROPSCORE_CID);
static NS_DEFINE_IID(kSignonCoreCID, NS_SIGNONCORE_CID);
static NS_DEFINE_IID(kCookieCoreCID, NS_COOKIECORE_CID);
static NS_DEFINE_IID(kWalletCoreCID, NS_WALLETCORE_CID);
static NS_DEFINE_IID(kProfileCoreCID, NS_PROFILECORE_CID);
static NS_DEFINE_IID(kRDFCoreCID, NS_RDFCORE_CID);
static NS_DEFINE_IID(kToolkitCoreCID, NS_TOOLKITCORE_CID);
@ -67,9 +61,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(kDOMPropsCoreCID, NULL, NULL, path, PR_TRUE, PR_TRUE);
nsComponentManager::RegisterComponent(kSignonCoreCID, NULL, NULL, path, PR_TRUE, PR_TRUE);
nsComponentManager::RegisterComponent(kCookieCoreCID, NULL, NULL, path, PR_TRUE, PR_TRUE);
nsComponentManager::RegisterComponent(kWalletCoreCID, 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);
@ -85,9 +76,6 @@ NSUnregisterSelf(nsISupports* serviceMgr, const char *path)
nsComponentManager::UnregisterComponent(kAppCoresManagerCID, path);
nsComponentManager::UnregisterComponent(kDOMPropsCoreCID, path);
nsComponentManager::UnregisterComponent(kSignonCoreCID, path);
nsComponentManager::UnregisterComponent(kCookieCoreCID, path);
nsComponentManager::UnregisterComponent(kWalletCoreCID, path);
nsComponentManager::UnregisterComponent(kProfileCoreCID, path);
nsComponentManager::UnregisterComponent(kRDFCoreCID, path);
nsComponentManager::UnregisterComponent(kToolkitCoreCID, path);
@ -122,18 +110,6 @@ NSGetFactory(nsISupports* serviceMgr,
{
inst = new nsDOMPropsCoreFactory();
}
else if ( aClass.Equals(kSignonCoreCID) )
{
inst = new nsSignonCoreFactory();
}
else if ( aClass.Equals(kCookieCoreCID) )
{
inst = new nsCookieCoreFactory();
}
else if ( aClass.Equals(kWalletCoreCID) )
{
inst = new nsWalletCoreFactory();
}
else if ( aClass.Equals(kProfileCoreCID) )
{
inst = new nsProfileCoreFactory();

Просмотреть файл

@ -27,9 +27,6 @@
#include "nsIDOMAppCoresManager.h"
#include "nsIDOMDOMPropsCore.h"
#include "nsIDOMToolkitCore.h"
#include "nsIDOMSignonCore.h"
#include "nsIDOMCookieCore.h"
#include "nsIDOMWalletCore.h"
#include "nsIDOMProfileCore.h"
#include "nsIDOMRDFCore.h"
#include "nsIDOMBrowserAppCore.h"
@ -41,9 +38,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(kDOMPropsCoreCID, NS_DOMPROPSCORE_CID);
static NS_DEFINE_IID(kSignonCoreCID, NS_SIGNONCORE_CID);
static NS_DEFINE_IID(kCookieCoreCID, NS_COOKIECORE_CID);
static NS_DEFINE_IID(kWalletCoreCID, NS_WALLETCORE_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);
@ -72,9 +66,6 @@ nsAppCoresNameSet::InitializeClasses(nsIScriptContext* aScriptContext)
if (NS_OK != result) return result;
result = NS_InitDOMPropsCoreClass(aScriptContext, nsnull);
result = NS_InitSignonCoreClass(aScriptContext, nsnull);
result = NS_InitCookieCoreClass(aScriptContext, nsnull);
result = NS_InitWalletCoreClass(aScriptContext, nsnull);
result = NS_InitProfileCoreClass(aScriptContext, nsnull);
result = NS_InitBrowserAppCoreClass(aScriptContext, nsnull);
//result = NS_InitEditorAppCoreClass(aScriptContext, nsnull);
@ -102,30 +93,6 @@ nsAppCoresNameSet::AddNameSet(nsIScriptContext* aScriptContext)
if (NS_OK != result) return result;
result = manager->RegisterGlobalName("SignonCore",
kSignonCoreCID,
PR_TRUE);
if (NS_OK != result) return result;
result = manager->RegisterGlobalName("CookieCore",
kCookieCoreCID,
PR_TRUE);
if (NS_OK != result) return result;
result = manager->RegisterGlobalName("WalletCore",
kWalletCoreCID,
PR_TRUE);
if (NS_OK != result) return result;
result = manager->RegisterGlobalName("ProfileCore",
kProfileCoreCID,
PR_TRUE);

Просмотреть файл

@ -448,7 +448,7 @@ nsBrowserAppCore::WalletEditor(nsIDOMWindow* aWin)
window = nsnull;
nsCOMPtr<nsIURL> urlObj;
char *urlstr = "resource:/res/samples/xpconnect-walleteditor.html";
char *urlstr = "resource:/res/samples/WalletEditor.html";
#ifndef NECKO
rv = NS_NewURL(getter_AddRefs(urlObj), urlstr);
#else
@ -507,7 +507,7 @@ nsBrowserAppCore::SignonViewer(nsIDOMWindow* aWin)
window = nsnull;
nsCOMPtr<nsIURL> urlObj;
char * urlstr = "resource:/res/samples/xpconnect-signonviewer.html";
char * urlstr = "resource:/res/samples/SignonViewer.html";
#ifndef NECKO
rv = NS_NewURL(getter_AddRefs(urlObj), urlstr);
#else
@ -566,7 +566,7 @@ nsBrowserAppCore::CookieViewer(nsIDOMWindow* aWin)
window = nsnull;
nsCOMPtr<nsIURL> urlObj;
char *urlstr = "resource:/res/samples/xpconnect-cookieviewer.html";
char *urlstr = "resource:/res/samples/CookieViewer.html";
#ifndef NECKO
rv = NS_NewURL(getter_AddRefs(urlObj), urlstr);
#else
@ -668,7 +668,7 @@ nsBrowserAppCore::WalletPreview(nsIDOMWindow* aWin, nsIDOMWindow* aForm)
window = nsnull;
nsCOMPtr<nsIURL> urlObj;
char * urlstr = "resource:/res/samples/xpconnect-walletpreview.html";
char * urlstr = "resource:/res/samples/WalletPreview.html";
#ifndef NECKO
rv = NS_NewURL(getter_AddRefs(urlObj), urlstr);
#else

Просмотреть файл

@ -25,9 +25,6 @@ include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
EXPORT_RESOURCE_SAMPLES = \
$(srcdir)/SignonWindow.js \
$(srcdir)/CookieWindow.js \
$(srcdir)/WalletWindow.js \
$(NULL)
EXPORT_RESOURCE_TOOLBAR = \

Просмотреть файл

@ -43,9 +43,6 @@ static NS_DEFINE_IID(kIAppCoresManagerIID, NS_IDOMAPPCORESMANAGER_IID);
static NS_DEFINE_IID(kAppCoresManagerCID, NS_APPCORESMANAGER_CID);
static NS_DEFINE_IID(kToolkitCoreCID, NS_TOOLKITCORE_CID);
static NS_DEFINE_IID(kDOMPropsCoreCID, NS_DOMPROPSCORE_CID);
static NS_DEFINE_IID(kSignonCoreCID, NS_SIGNONCORE_CID);
static NS_DEFINE_IID(kCookieCoreCID, NS_COOKIECORE_CID);
static NS_DEFINE_IID(kWalletCoreCID, NS_WALLETCORE_CID);
static NS_DEFINE_IID(kProfileCoreCID, NS_PROFILECORE_CID);
static NS_DEFINE_IID(kToolbarCoreCID, NS_TOOLBARCORE_CID);
static NS_DEFINE_IID(kBrowserAppCoreCID, NS_BROWSERAPPCORE_CID);
@ -147,9 +144,6 @@ NS_SetupRegistry_1()
nsComponentManager::RegisterComponent(kAppCoresManagerCID, NULL, NULL, APPCORES_DLL, PR_FALSE, PR_FALSE);
nsComponentManager::RegisterComponent(kToolkitCoreCID, NULL, NULL, APPCORES_DLL, PR_FALSE, PR_FALSE);
nsComponentManager::RegisterComponent(kDOMPropsCoreCID, NULL, NULL, APPCORES_DLL, PR_FALSE, PR_FALSE);
nsComponentManager::RegisterComponent(kSignonCoreCID, NULL, NULL, APPCORES_DLL, PR_FALSE, PR_FALSE);
nsComponentManager::RegisterComponent(kCookieCoreCID, NULL, NULL, APPCORES_DLL, PR_FALSE, PR_FALSE);
nsComponentManager::RegisterComponent(kWalletCoreCID, NULL, NULL, APPCORES_DLL, PR_FALSE, PR_FALSE);
nsComponentManager::RegisterComponent(kProfileCoreCID, NULL, NULL, APPCORES_DLL, PR_FALSE, PR_FALSE);
nsComponentManager::RegisterComponent(kToolbarCoreCID, NULL, NULL, APPCORES_DLL, PR_FALSE, PR_FALSE);
nsComponentManager::RegisterComponent(kBrowserAppCoreCID, NULL, NULL, APPCORES_DLL, PR_FALSE, PR_FALSE);