]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfont.h
LFUN_UNICODE_INSERT - unicode-insert
[lyx.git] / src / lyxfont.h
index 8d0d3a26102418fb33c3c2dce3712750ad58d8bf..3b8842a37f0fdee0d76806b8e6e857a804370dc2 100644 (file)
 #define LYXFONT_H
 
 #include "LColor.h"
+#include "support/docstream.h"
+
+
+namespace lyx {
 
-#include <iosfwd>
-#include <string>
 
 class LyXLex;
 class BufferParams;
@@ -295,14 +297,14 @@ public:
            to this font. Returns number of chars written. Base is the
            font state active now.
        */
-       int latexWriteStartChanges(std::ostream &, 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(std::ostream &, LyXFont const & base,
+       int latexWriteEndChanges(odocstream &, LyXFont const & base,
                                 LyXFont const & next) const;
 
        /// Build GUI description of font state
@@ -408,4 +410,7 @@ bool operator!=(LyXFont const & font1, LyXFont const & font2)
        return !(font1 == font2);
 }
 
+
+} // namespace lyx
+
 #endif