Hi all,

I'm currently working on switching galeon over to using contentHandlers
to catch mime-types to pass to our external downloader (gtm).

Currently I'm iterating over our mime-list and using RegisterFactory
with the same CID and factory but different contractIDs and class names
for each mime-type. This process works fine but when I want to change
the set of registered mime-types, it becomes a problem. I can't
unregister factories individually because they all have the same CID
but that in itself didn't appear a problem. I thought I could
unregister once to remove all the contentHandlers and then re-iterate
over the new mime-type list.

however, the unregister works fine, but as soon as I register the first
new contenthandler, it 'remembers' all the old contractIDs and then
responds to all the old mime-types. Not what i wanted.

Is there anyway I can do this without having a separate CID for each
mime-type?

--phil


Reply via email to