[EMAIL PROTECTED] wrote:
Author: rgheck
Date: Thu Feb 28 15:49:01 2008
New Revision: 23322
URL: http://www.lyx.org/trac/changeset/23322
Log:
baseclasslist --> BaseClassList singleton. Prep for further type safety.
FYI: The point of all of this is to enforce the distinction between
"base" classes, which represent layout files, and "document" classes,
which represent the layout associated with a Buffer. This difference got
introduced by the modules stuff, and Andre's attempt to dispense with
TextClassPtr made me aware that the distinction is totally unclear in
the code. And then, in working through this, I found there are places in
the current code where the wrong thing gets used: the base class,
instead of the document class. Thus the idea to enforce this distinction
with types. The rest of that will come shortly.
A bonus will be that the "descriptions" associated with layout
files---like "article (AMS)"---will become translatable, and the combo
box in Document>Settings will become orderable according to the
translated descriptions.
rh