Added service manager mechanism.

git-svn-id: svn://10.0.0.236/trunk@8738 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
1998-08-28 21:28:35 +00:00
parent 31ab835636
commit 7876a9e765
4 changed files with 6 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ nsServiceManager::nsServiceManager(void)
}
static PRBool
DeleteEntry(nsHashKey *aKey, void *aData, void* closure)
DeleteEntry(nsHashKey *aKey, void *aData)
{
nsServiceEntry* entry = (nsServiceEntry*)aData;
entry->mService->Release();

View File

@@ -22,6 +22,7 @@ LIBRARY_NAME = xpcom
CPPSRCS = nsDebug.cpp \
nsHashtable.cpp \
nsID.cpp \
nsServiceManager.cpp \
nsSupportsArray.cpp \
nsRepository.cpp \
nsMalloc.cpp \
@@ -36,6 +37,7 @@ EXPORTS = nsCom.h \
nsIFactory.h \
nsISupports.h \
nsIPtr.h \
nsIServiceManager.h \
nsISupportsArray.h \
nsRepository.h \
nsIEnumerator.h \

View File

@@ -27,6 +27,7 @@ LIBRARY_NAME = xpcom
CPPSRCS = nsDebug.cpp \
nsHashtable.cpp \
nsID.cpp \
nsServiceManager.cpp \
nsSupportsArray.cpp \
nsRepository.cpp \
nsMalloc.cpp \
@@ -41,6 +42,7 @@ EXPORTS = nsCom.h \
nsIFactory.h \
nsISupports.h \
nsIPtr.h \
nsIServiceManager.h \
nsISupportsArray.h \
nsRepository.h \
nsIEnumerator.h \

View File

@@ -166,7 +166,7 @@ nsServiceManager::nsServiceManager(void)
}
static PRBool
DeleteEntry(nsHashKey *aKey, void *aData, void* closure)
DeleteEntry(nsHashKey *aKey, void *aData)
{
nsServiceEntry* entry = (nsServiceEntry*)aData;
entry->mService->Release();