Changed the registered name AppCoresManager to XPAppCoresManager

This commit is contained in:
rods%netscape.com 1999-02-16 19:08:56 +00:00
Родитель a17c12c401
Коммит ddac84c38b
3 изменённых файлов: 6 добавлений и 6 удалений

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

@ -105,7 +105,7 @@ nsAppCoresNameSet::AddNameSet(nsIScriptContext* aScriptContext)
if (NS_OK != result) return result;
result = manager->RegisterGlobalName("AppCoresManager",
result = manager->RegisterGlobalName("XPAppCoresManager",
kAppCoresCID,
PR_FALSE);

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

@ -9,7 +9,7 @@
function StartUp()
{
appCore = AppCoresManager.Find("MailAppCore");
appCore = XPAppCoresManager.Find("MailAppCore");
if (appCore==null) {
appCore = new MailCore();
if (appCore != null) {
@ -24,7 +24,7 @@
function SendMailMessage()
{
dump("SendMailMessage!\n");
var appCore = AppCoresManager.Find("MailAppCore");
var appCore = XPAppCoresManager.Find("MailAppCore");
if (appCore != null) {
dump("Mail was sent!\n");
appCore.SendMail(window.parent.frames[1].document.forms[0].elements[1].value,

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

@ -8,7 +8,7 @@
function StartUp()
{
dump("Doing Startup...\n");
appCore = AppCoresManager.Find("BrowserAppCore");
appCore = XPAppCoresManager.Find("BrowserAppCore");
dump("Looking up BrowserAppCore...\n");
if (appCore == null) {
dump("Creating BrowserAppCore...\n");
@ -41,7 +41,7 @@
function BrowserBack()
{
appCore = AppCoresManager.Find("BrowserAppCore");
appCore = XPAppCoresManager.Find("BrowserAppCore");
if (appCore != null) {
dump("Going Back\n");
appCore.back();
@ -52,7 +52,7 @@
function BrowserForward()
{
appCore = AppCoresManager.Find("BrowserAppCore");
appCore = XPAppCoresManager.Find("BrowserAppCore");
if (appCore != null) {
dump("Going Forward\n");
appCore.forward();