remove references to stub nsIMessenger class

This commit is contained in:
alecf%netscape.com 1999-04-26 19:03:36 +00:00
parent 1d449a2481
commit f925982e9d

View File

@ -20,8 +20,6 @@
#include "nsMessengerNameSet.h"
#include "nsIMessenger.h"
#include "jsapi.h"
#include "nsIScriptContext.h"
#include "nsIScriptNameSpaceManager.h"
@ -61,14 +59,9 @@ nsMessengerNameSet::InitializeClasses(nsIScriptContext* aScriptContext)
/* initialize the AppCore */
NS_InitMsgAppCoreClass(aScriptContext, nsnull);
#ifdef XPIDL_JS_STUBS
nsIMessenger::InitJSClass(cx);
#endif
return rv;
}
static NS_DEFINE_CID(kCMessengerCID, NS_MESSENGER_CID);
static NS_DEFINE_CID(kCMsgAppCoreCID, NS_MSGAPPCORE_CID);
NS_IMETHODIMP
@ -79,11 +72,6 @@ nsMessengerNameSet::AddNameSet(nsIScriptContext *aScriptContext)
rv = aScriptContext->GetNameSpaceManager(&manager);
if (NS_SUCCEEDED(rv))
rv = manager->RegisterGlobalName("Messenger",
kCMessengerCID,
PR_TRUE);
/* register the appcore here too */
if (NS_SUCCEEDED(rv))
rv = manager->RegisterGlobalName("MsgAppCore",