Re: Creating a custom protocol handler

Darin Fisher <[email protected]> Wed, 13 Nov 2002 14:26:34 -0800
Newsgroups gmane.comp.mozilla.devel.xpcom,gmane.comp.mozilla.devel.netlib,gmane.comp.mozilla.devel.plugins
Organization Netscape Communications
Message-ID <[email protected]>
Per Lundberg wrote:
>>>>>>"DF" == Darin Fisher <[email protected]> writes:
> 
> 
>     DF> have you added your equivalent of
>     DF> mozilla/netwerk/build/nsNetModule.cpp?
> 
> Nope... I haven't. As you may have guessed, I'm very green when it
> comes to Mozilla. :-) I was hoping there would be some form of
> documentation to get me going, but it seems to be a Star Wars project
> ("Use the source, Luke!").
> 
> I looked in the file a bit; I suppose what I would need to do is to
> basically mimic RegisterBuiltInURLParsers, right? Where would I put
> this code? Is there some kind of constructor function I can put in my
> component?
> 
> (Sorry about the lame questions, I just really don't know where to
> start)
> 

please check out the documentation on how to create a XPCOM component.

http://mozilla.org/catalog/architecture/xpcom/

darin