X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfont.h;h=34a0b24325f9851fd4acc8b38bd73b949db94058;hb=095625dc3cd0542d13d8cc62362aa71c896eb3e0;hp=e5b38c0cde3bb883672a1efaf2354bff85788fcc;hpb=8b67659646c6850377cb9f44a2a0a22c0e80840c;p=lyx.git diff --git a/src/lyxfont.h b/src/lyxfont.h index e5b38c0cde..34a0b24325 100644 --- a/src/lyxfont.h +++ b/src/lyxfont.h @@ -19,6 +19,9 @@ #include "support/docstream.h" +namespace lyx { + + class LyXLex; class BufferParams; class Language; @@ -59,6 +62,8 @@ public: /// WASY_FAMILY, /// + ESINT_FAMILY, + /// INHERIT_FAMILY, /// IGNORE_FAMILY, @@ -294,14 +299,14 @@ public: to this font. Returns number of chars written. Base is the font state active now. */ - int latexWriteStartChanges(lyx::odocstream &, LyXFont const & base, + int latexWriteStartChanges(odocstream &, LyXFont const & base, LyXFont const & prev) const; /** Writes the tail of the LaTeX needed to change to this font. Returns number of chars written. Base is the font state we want to achieve. */ - int latexWriteEndChanges(lyx::odocstream &, LyXFont const & base, + int latexWriteEndChanges(odocstream &, LyXFont const & base, LyXFont const & next) const; /// Build GUI description of font state @@ -376,6 +381,7 @@ bool LyXFont::isSymbolFont() const case LyXFont::MSA_FAMILY: case LyXFont::MSB_FAMILY: case LyXFont::WASY_FAMILY: + case LyXFont::ESINT_FAMILY: return true; default: return false; @@ -407,4 +413,7 @@ bool operator!=(LyXFont const & font1, LyXFont const & font2) return !(font1 == font2); } + +} // namespace lyx + #endif