Function xpcom::get_service
[−]
[src]
pub fn get_service<T: XpCom>(id: &CStr) -> Option<RefPtr<T>>
Helper for calling nsIServiceManager::GetServiceByContractID
on the global
nsIServiceManager
.
This method is similar to do_GetService
in C++.