зеркало из https://github.com/mozilla/pjs.git
Shutdown Inet
This commit is contained in:
Родитель
9958a80326
Коммит
5af597daab
|
@ -23,6 +23,7 @@
|
||||||
#include "nsxpfcCIID.h"
|
#include "nsxpfcCIID.h"
|
||||||
#include "nsIAppShell.h"
|
#include "nsIAppShell.h"
|
||||||
#include "nspr.h"
|
#include "nspr.h"
|
||||||
|
#include "nsINetService.h"
|
||||||
|
|
||||||
#include "Xm/Xm.h"
|
#include "Xm/Xm.h"
|
||||||
#include "Xm/MainW.h"
|
#include "Xm/MainW.h"
|
||||||
|
@ -156,6 +157,7 @@ void main(int argc, char **argv)
|
||||||
|
|
||||||
// We're done, clean up
|
// We're done, clean up
|
||||||
nsApplicationManager::DeleteShellAssociation(pApplicationShell, pShellInstance);
|
nsApplicationManager::DeleteShellAssociation(pApplicationShell, pShellInstance);
|
||||||
|
NS_ShutdownINetService();
|
||||||
PR_Cleanup();
|
PR_Cleanup();
|
||||||
|
|
||||||
// book out of here
|
// book out of here
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
#
|
|
||||||
# CONFIDENTIAL AND PROPRIETARY SOURCE CODE OF
|
|
||||||
# NETSCAPE COMMUNICATIONS CORPORATION
|
|
||||||
# Copyright (C) 1996 Netscape Communications Corporation. All Rights
|
|
||||||
# Reserved. Use of this Source Code is subject to the terms of the
|
|
||||||
# applicable license agreement from Netscape Communications Corporation.
|
|
||||||
# The copyright notice(s) in this Source Code does not indicate actual or
|
|
||||||
# intended publication of this Source Code.
|
|
||||||
#
|
|
||||||
GDEPTH = ../../../..
|
|
||||||
|
|
||||||
EXPORTS = \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
PRIVATE_EXPORTS = \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
MODULE = xpfc
|
|
||||||
|
|
||||||
CPPSRCS = \
|
|
||||||
main.cpp \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
REQUIRES = xpcom raptor
|
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
#
|
|
||||||
# CONFIDENTIAL AND PROPRIETARY SOURCE CODE OF
|
|
||||||
# NETSCAPE COMMUNICATIONS CORPORATION
|
|
||||||
# Copyright (C) 1996 Netscape Communications Corporation. All Rights
|
|
||||||
# Reserved. Use of this Source Code is subject to the terms of the
|
|
||||||
# applicable license agreement from Netscape Communications Corporation.
|
|
||||||
# The copyright notice(s) in this Source Code does not indicate actual or
|
|
||||||
# intended publication of this Source Code.
|
|
||||||
#
|
|
||||||
GDEPTH = ../../../..
|
|
||||||
|
|
||||||
EXPORTS = \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
PRIVATE_EXPORTS = \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
MODULE = xpfc
|
|
||||||
|
|
||||||
CPPSRCS = \
|
|
||||||
winmain.cpp \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
REQUIRES = xpcom raptor dom
|
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include "nsIAppShell.h"
|
#include "nsIAppShell.h"
|
||||||
#include "nspr.h"
|
#include "nspr.h"
|
||||||
#include "plevent.h"
|
#include "plevent.h"
|
||||||
|
#include "nsINetService.h"
|
||||||
|
|
||||||
#define XPFC_DLL "xpfc10.dll"
|
#define XPFC_DLL "xpfc10.dll"
|
||||||
|
|
||||||
|
@ -148,6 +149,7 @@ int PASCAL WinMain(HANDLE instance, HANDLE prevInstance, LPSTR cmdParam, int nCm
|
||||||
NS_RELEASE(pApplicationShell);
|
NS_RELEASE(pApplicationShell);
|
||||||
NS_RELEASE(pShellInstance);
|
NS_RELEASE(pShellInstance);
|
||||||
|
|
||||||
|
NS_ShutdownINetService();
|
||||||
PR_Cleanup();
|
PR_Cleanup();
|
||||||
|
|
||||||
// book out of here
|
// book out of here
|
||||||
|
|
Загрузка…
Ссылка в новой задаче