valeski%netscape.com edf8a94dff ? network/module/nsNetFactory.cpp
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.

M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.

M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.

M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.

M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.

M network/module/nsNetFile.cpp
Fixed memory leak.

M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.

M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID

M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.


git-svn-id: svn://10.0.0.236/trunk@10234 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:55:35 +00:00

82 lines
2.7 KiB
Makefile

#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../..
MODULE = netlib
LIBRARY_NAME = netlib
CPPSRCS = \
nsNetService.cpp \
nsRelatedLinks.cpp \
nsNetStream.cpp \
nsURL.cpp \
nsHttpUrl.cpp \
nsStubContext.cpp \
nsNetStubs.cpp \
nsNetIDs.cpp \
nsLoadAttribs.cpp \
nsNetFactory.cpp \
$(NULL)
REQUIRES = raptor js dbm nspr security pref xpcom util img \
layer network netcache fileurl ftpurl abouturl \
httpurl gophurl remoturl netcnvts
EXPORTS = nsIStreamListener.h \
nsINetService.h \
nsINetSupport.h \
nsIURL.h \
nsIRelatedLinks.h \
nsIPostToServer.h \
nsIHttpUrl.h \
nsINetContainerApplication.h \
nsIRefreshUrl.h \
nsIConnectionInfo.h \
nsILoadAttribs.h \
$(NULL)
include $(DEPTH)/config/config.mk
include $(DEPTH)/config/rules.mk
$(LIBRARY): \
$(OBJS)
install::
$(INSTALL) res/gopher-audio.gif $(DIST)/bin/res/network
$(INSTALL) res/gopher-binary.gif $(DIST)/bin/res/network
$(INSTALL) res/gopher-find.gif $(DIST)/bin/res/network
$(INSTALL) res/gopher-image.gif $(DIST)/bin/res/network
$(INSTALL) res/gopher-menu.gif $(DIST)/bin/res/network
$(INSTALL) res/gopher-movie.gif $(DIST)/bin/res/network
$(INSTALL) res/gopher-telnet.gif $(DIST)/bin/res/network
$(INSTALL) res/gopher-text.gif $(DIST)/bin/res/network
$(INSTALL) res/gopher-unknown.gif $(DIST)/bin/res/network
clobber::
rm -f $(DIST)/bin/res/network/gopher-audio.gif
rm -f $(DIST)/bin/res/network/gopher-binary.gif
rm -f $(DIST)/bin/res/network/gopher-find.gif
rm -f $(DIST)/bin/res/network/gopher-image.gif
rm -f $(DIST)/bin/res/network/gopher-menu.gif
rm -f $(DIST)/bin/res/network/gopher-movie.gif
rm -f $(DIST)/bin/res/network/gopher-telnet.gif
rm -f $(DIST)/bin/res/network/gopher-text.gif
rm -f $(DIST)/bin/res/network/gopher-unknown.gif