>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

>>  Well, since math insets are not really insets that can be used in
>> the rest of LyX, it may make more sense to only rename the ones
>> that derive from InsetOld (and maybe even move them to src/insets/
>> directory?)

Andre> With Inset unification being the big goal math insets are
Andre> 'real' insets.

There has to be some difference between insets that live in some
wrappers (math insets, insettext in some way) and insets that can be
inserted in a paragraph. This difference could be either some slightly
different inset class (like insetold but with much more merging) or
some kind of multiple inheritance trick (if it makes sense at all).
 
>> Concerning the namespace, lyx::mathed would look nice.

Andre> I have a strong aversion against nested namespaces. One ends up
Andre> with load of line noise outweighing any benefits. Putting
Andre> everything in a namespace, however, _has_ the advantage of
Andre> shielding the outside world from us and to a certain degree us
Andre> from the outside world.

You are much more versed in C++ than I am, anyway. So do as you like
(I wonder whether you need me to say that...).

JMarc

Reply via email to