Andre Poenitz wrote: > On Tue, Sep 16, 2003 at 11:45:41AM +0200, Lars Gullik Bjønnes wrote: >> This is what I am not sure about... I also have a idea of a "distpatch >> domain" so that we can register lfuns, and not have gigantic static >> switches as we have today. > > I think you could try to convert the math dispatch to your scheme > without affecting the rest of LyX. This would give some reference > implementation of the scheme without duplicated work...
I was thinking... how about implementing factory.C in a similar way also? Every inset could register a constructor standalone function that returns a base inset given some data. Does it make sense? Alfredo