Backing out my changes

git-svn-id: svn://10.0.0.236/trunk@21877 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
akkana%netscape.com
1999-02-25 06:54:50 +00:00
parent ce87f6cb8a
commit 037abd6d71
8 changed files with 0 additions and 85 deletions

View File

@@ -18,7 +18,6 @@
#include "nsAppShell.h"
#include "nsIWidget.h"
#include "nsSelectionMgr.h"
#include <windows.h>
NS_IMPL_ISUPPORTS(nsAppShell, NS_IAPPSHELL_IID)
@@ -32,7 +31,6 @@ nsAppShell::nsAppShell()
{
NS_INIT_REFCNT();
mDispatchListener = 0;
mSelectionMgr = 0;
}
@@ -45,10 +43,6 @@ nsAppShell::nsAppShell()
NS_METHOD nsAppShell::Create(int* argc, char ** argv)
{
// Create the selection manager
if (!mSelectionMgr)
NS_NewSelectionMgr(&mSelectionMgr);
return NS_OK;
}
@@ -173,7 +167,6 @@ NS_METHOD nsAppShell::Exit()
//-------------------------------------------------------------------------
nsAppShell::~nsAppShell()
{
NS_IF_RELEASE(mSelectionMgr);
}
//-------------------------------------------------------------------------
@@ -188,14 +181,3 @@ void* nsAppShell::GetNativeData(PRUint32 aDataType)
}
return nsnull;
}
NS_METHOD
nsAppShell::GetSelectionMgr(nsISelectionMgr** aSelectionMgr)
{
*aSelectionMgr = mSelectionMgr;
NS_IF_ADDREF(mSelectionMgr);
if (!mSelectionMgr)
return NS_ERROR_NOT_INITIALIZED;
return NS_OK;
}