]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/lyxfont.h
Forgotten files ;-)
[lyx.git] / src / tex2lyx / lyxfont.h
1 // -*- C++ -*-
2 /**
3  *  \file lyxfont.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  *  \author Angus Leeming
8  *
9  *  Full author contact details are available in file CREDITS
10  */
11
12 #ifndef LYXFONT_H
13 #define LYXFONT_H
14
15 class LyXLex;
16
17 class LyXFont {
18 public:
19         /// Trick to overload constructor and make it megafast
20         enum FONT_INIT1 { ALL_INHERIT };
21         enum FONT_INIT3 { ALL_SANE };
22
23         LyXFont() {}
24         explicit LyXFont(LyXFont::FONT_INIT1) {}
25         explicit LyXFont(LyXFont::FONT_INIT3) {}
26
27         LyXFont & lyxRead(LyXLex &);
28
29         LyXFont & realize(LyXFont const &) { return *this; }
30         bool resolved() const { return true; }
31 };
32
33 #endif // NOT LYXFONT_H