Removing xpinstall and silentdl references from the viewer.

git-svn-id: svn://10.0.0.236/trunk@31853 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
1999-05-16 19:07:19 +00:00
parent a38ec51f54
commit 3fce7741e4
2 changed files with 0 additions and 43 deletions

View File

@@ -68,8 +68,6 @@ LINCS= \
-I$(PUBLIC)\unicharutil \
-I$(PUBLIC)\intl \
-I$(PUBLIC)\rdf \
-I$(PUBLIC)\silentdl \
-I$(PUBLIC)\xpinstall \
-I$(PUBLIC)\wallet \
-I$(PUBLIC)\profile \
!if defined(NGPREFS)

View File

@@ -72,29 +72,6 @@
#include <fullsoft.h>
#endif
/*********************************************
SilentDownload
*********************************************/
#include "nsSilentDownload.h"
#include "nsIDOMSilentDownload.h"
static nsIDOMSilentDownload *silentDownload = NULL;
static NS_DEFINE_IID(kISilentDownloadIID, NS_IDOMSILENTDOWNLOAD_IID);
static NS_DEFINE_IID(kSilentDownloadCID, NS_SilentDownload_CID);
/*********************************************/
/*********************************************
SoftwareUpdate
*********************************************/
#include "nsISoftwareUpdate.h"
#include "nsSoftwareUpdateIIDs.h"
static nsISoftwareUpdate *softwareUpdate= NULL;
static NS_DEFINE_IID(kISoftwareUpdateIID, NS_ISOFTWAREUPDATE_IID);
static NS_DEFINE_IID(kSoftwareUpdateCID, NS_SoftwareUpdate_CID);
/*********************************************/
extern nsresult NS_NewBrowserWindowFactory(nsIFactory** aFactory);
extern nsresult NS_NewXPBaseWindowFactory(nsIFactory** aFactory);
extern "C" void NS_SetupRegistry();
@@ -325,18 +302,6 @@ nsViewerApp::Initialize(int argc, char** argv)
return rv;
}
rv = nsComponentManager::CreateInstance(kSoftwareUpdateCID,
nsnull,
kISoftwareUpdateIID,
(void**) &softwareUpdate);
rv = nsComponentManager::CreateInstance(kSilentDownloadCID,
nsnull,
kISilentDownloadIID,
(void**) &silentDownload);
// Finally process our arguments
rv = ProcessArguments(argc, argv);
@@ -347,12 +312,6 @@ nsViewerApp::Initialize(int argc, char** argv)
nsresult
nsViewerApp::Exit()
{
if (silentDownload != nsnull)
NS_RELEASE(silentDownload);
if (softwareUpdate!= nsnull)
NS_RELEASE(softwareUpdate);
Destroy();
mAppShell->Exit();