3 * \file tex2lyx/LyXFont.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS.
11 * This class is just a dummy version of that in the main LyX source tree
12 * to enable tex2lyx to use LyX's textclass classes and not have to
13 * re-invent the wheel.
26 /// Trick to overload constructor and make it megafast
27 enum FONT_INIT1 { ALL_INHERIT };
28 enum FONT_INIT3 { ALL_SANE };
31 explicit LyXFont(LyXFont::FONT_INIT1) {}
32 explicit LyXFont(LyXFont::FONT_INIT3) {}
34 LyXFont & lyxRead(LyXLex &);
36 LyXFont & realize(LyXFont const &) { return *this; }
37 bool resolved() const { return true; }
43 #endif // NOT LYXFONT_H