Darin Fisher wrote:
> I have a simple question about IDL files. It seems that all throughout
> the mozilla source, IDL files contain CIDs, ContractIDs, and often
> factory methods in %{C++ %} blocks. These things correspond to a
> particular implementation of the interface (or, in the case of
> ContractIDs, to a particular class of implementations), right?
Right.
> So, then
> why are they listed in the IDL files? Isn't this wrong? Why do the
> IDL files list stuff identifying a particular implementation?
Because most people are lazy (me especially). But alecf, mscott, et al.
in mailnews did the right thing (IIRC -- alecf please comment).
We should fix this incrementally and in a distributed manner, and not
propagate the bad patterns any further.
/be