зеркало из https://github.com/mozilla/gecko-dev.git
Added service manager mechanism.
This commit is contained in:
Родитель
dff0de499c
Коммит
6587ecb0af
|
@ -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();
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче