On Wed, Dec 27, 2000 at 03:07:49PM -0800, Brendan Eich wrote:
> Enabling and disabling a capability requires using
> nsIScriptSecurityManager (caps/idl/nsIScriptSecurityManager.idl, which
> contains horrid tabs and InterCaps method names rather than interCaps --
> mstoltz, I'm whining at you).
> 
> XPCOM's service manager lets you get a service, so I think you're done.
> Cc'ing mstoltz and jband for their better-informed responses.
> 

bingbing. score.

beautiful. 

next question: how can i tell the component manager to load the typelib for an
XPCOM object I register dynamically? At runtime I call
nsComponentManger::RegisterFactory(). Will doing a
nsComponentManager::RegisterComponentLib() cause the component managers to look
for typelibs in the same location as the library module? I asked jband about
this, and he said "xpcom only sees .xpt files in the 'components' directory". 
But he was talking about mozilla itself; as an embedding application I don't
have rights to put my stuff there.

I last talked to jband about this on 12-21. Since then he's (understandably)   
gone awol. This is my short short window to hack so I'll take any pointers
on this one ...                                                             

               

Cheers,

Ari


[sigh. fsck'd reply-to's seem to be the story of my life]

Reply via email to