зеркало из https://github.com/mozilla/gecko-dev.git
*not part of the build*
fix for 94194 a=edburns@acm.org r=idk@eng.sun.com
This commit is contained in:
Родитель
c2293a6634
Коммит
7c51b505be
|
@ -29,5 +29,6 @@ interface nsIXPIDLServiceManager : nsISupports
|
||||||
void registerService(in nsCIDRef aClass, in nsISupports aService);
|
void registerService(in nsCIDRef aClass, in nsISupports aService);
|
||||||
void unregisterService(in nsCIDRef aClass);
|
void unregisterService(in nsCIDRef aClass);
|
||||||
nsISupports getService(in nsCIDRef aClass, in nsIIDRef aIID);
|
nsISupports getService(in nsCIDRef aClass, in nsIIDRef aIID);
|
||||||
|
nsISupports getServiceByContractID(in string contractID, in nsIIDRef aIID);
|
||||||
void ReleaseService(in nsCIDRef aClass, in nsISupports service);
|
void ReleaseService(in nsCIDRef aClass, in nsISupports service);
|
||||||
};
|
};
|
||||||
|
|
|
@ -39,6 +39,11 @@ NS_IMETHODIMP nsXPIDLServiceManager::UnregisterService(const nsCID & aClass) {
|
||||||
NS_IMETHODIMP nsXPIDLServiceManager::GetService(const nsCID & aClass, const nsIID & aIID, nsISupports **_retval) {
|
NS_IMETHODIMP nsXPIDLServiceManager::GetService(const nsCID & aClass, const nsIID & aIID, nsISupports **_retval) {
|
||||||
return nsServiceManager::GetService(aClass,aIID,_retval);
|
return nsServiceManager::GetService(aClass,aIID,_retval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NS_IMETHODIMP nsXPIDLServiceManager::GetServiceByContractID(const char *contractID, const nsIID & aIID, nsISupports **_retval) {
|
||||||
|
return nsServiceManager::GetService(contractID,aIID,_retval);
|
||||||
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsXPIDLServiceManager::ReleaseService(const nsCID & aClass, nsISupports *service) {
|
NS_IMETHODIMP nsXPIDLServiceManager::ReleaseService(const nsCID & aClass, nsISupports *service) {
|
||||||
return nsServiceManager::ReleaseService(aClass,service);
|
return nsServiceManager::ReleaseService(aClass,service);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче