In article <[email protected]>, 
[email protected] says...
> 
> The lines you want are:
> 
> nsIServiceManager serviceManager =
> Mozilla.getInstance().getServiceManager();
> nsIFaviconService service =
> (nsIFaviconService)serviceManager.getServiceByContractID("@mozilla.org/brows
> er/favicon-service;1", nsIFaviconService.NS_IFAVICONSERVICE_IID);
> 
> If you're asking which services should be accessed in this manner, I think
> the answer is all of them.  I don't know if there's a list of all available
> services.

Huh. Ok, that's cool. QueryInterface -- or the equivalent method in 
SWT's Browser object, I think it's getInterface -- works for all of the 
other interfaces I'm using. I was not aware that I was accessing them 
the wrong way!

Thank you very much!


-- 
Steve Sobol, Victorville, California, USA
[email protected]
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to