[GEM-dev] Re: [GEM] update && Re: [PD-dev] [GEM] update
IOhannes zmoelnig
zmoelnig at iem.kug.ac.at
Fri May 16 12:44:45 CEST 2003
günter wrote:
> I have taken a look at the new film classes, and I have to say that I
> am not fully convinced by the design.
> If every platform has to go through this, it might be good to give
> it a little bit of thought.
> The cleanest solution would be to have the decoder (film) classes
> register themselves with the system if they are linked in, and not
> call their constructors from the pix_filmNEW.
> (This can be done for example by instantiating a global class in each
> filmXXX implementation, where the constructor registers itself)
> This would save the #ifdefs that are currently in the filmXXX
> classes.
this is true.
however, i have never before done such thing and so i have not "wasted"
too much thought on it.
mfg.asd.r
IOhannes
More information about the GEM-dev
mailing list