removal of nsIAppShellComponent stuff, for bug 76339 sr=sspitzer

git-svn-id: svn://10.0.0.236/trunk@93868 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
2001-05-04 00:49:56 +00:00
parent d97ed4fb8f
commit 8bc849bd97
3 changed files with 2 additions and 22 deletions

View File

@@ -38,7 +38,6 @@
#include "nsMessenger.h"
#include "nsMsgGroupRecord.h"
#include "nsIAppShellComponent.h"
#include "nsIRegistry.h"
/* Include all of the interfaces our factory can generate components for */

View File

@@ -33,7 +33,6 @@
#include "nsIMsgFolderCache.h"
#include "nsIPref.h"
#include "nsIDOMWindow.h"
#include "nsIAppShellService.h"
#include "nsISupportsPrimitives.h"
#include "nsIWindowWatcher.h"
#include "nsString.h"
@@ -46,7 +45,7 @@ static NS_DEFINE_CID(kPrefServiceCID, NS_PREF_CID);
NS_IMPL_THREADSAFE_ADDREF(nsMessengerBootstrap);
NS_IMPL_THREADSAFE_RELEASE(nsMessengerBootstrap);
NS_IMPL_QUERY_INTERFACE3(nsMessengerBootstrap, nsIAppShellComponent, nsICmdLineHandler, nsIMessengerWindowService);
NS_IMPL_QUERY_INTERFACE2(nsMessengerBootstrap, nsICmdLineHandler, nsIMessengerWindowService);
nsMessengerBootstrap::nsMessengerBootstrap()
{
@@ -57,21 +56,6 @@ nsMessengerBootstrap::~nsMessengerBootstrap()
{
}
nsresult
nsMessengerBootstrap::Initialize(nsIAppShellService*,
nsICmdLineService*)
{
return NS_OK;
}
nsresult
nsMessengerBootstrap::Shutdown()
{
return NS_OK;
}
CMDLINEHANDLER3_IMPL(nsMessengerBootstrap,"-mail","general.startup.mail","Start with mail.",NS_MAILSTARTUPHANDLER_CONTRACTID,"Mail Cmd Line Handler",PR_FALSE,"", PR_TRUE)
NS_IMETHODIMP nsMessengerBootstrap::GetChromeUrlForTask(char **aChromeUrlForTask)

View File

@@ -26,8 +26,6 @@
#include "nscore.h"
#include "nsIServiceManager.h"
#include "nsIAppShellService.h"
#include "nsIAppShellComponent.h"
#include "nsICmdLineHandler.h"
#include "nsIMessengerWindowService.h"
@@ -37,14 +35,13 @@
{0xb7, 0xf6, 0x00, 0x80, 0x5f, 0x05, 0xff, 0xa5}}
class nsMessengerBootstrap : public nsIAppShellComponent, public nsICmdLineHandler, public nsIMessengerWindowService {
class nsMessengerBootstrap : public nsICmdLineHandler, public nsIMessengerWindowService {
public:
nsMessengerBootstrap();
virtual ~nsMessengerBootstrap();
NS_DECL_ISUPPORTS
NS_DECL_NSIAPPSHELLCOMPONENT
NS_DECL_NSICMDLINEHANDLER
NS_DECL_NSIMESSENGERWINDOWSERVICE
CMDLINEHANDLER_REGISTERPROC_DECLS