]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetFormulaMacro.h
rename LyXFont to Font except in tex2lyx
[lyx.git] / src / mathed / InsetFormulaMacro.h
index ecb73960c3c9cdfa2068891c29c7ef881976ef78..55b31761594e866b4b215a341bfd0138bbf26cc8 100644 (file)
@@ -19,7 +19,7 @@
 namespace lyx {
 
 class MathMacroTemplate;
-class LyXLex;
+class Lexer;
 
 
 // An InsetFormulaMacro only knows its name and asks the global
@@ -40,7 +40,7 @@ public:
        void draw(PainterInfo & pi, int x, int y) const;
 
        ///
-       void read(Buffer const &, LyXLex & lex);
+       void read(Buffer const &, Lexer & lex);
        ///
        void write(Buffer const &, std::ostream & os) const;
        ///
@@ -54,9 +54,9 @@ public:
                    OutputParams const &) const;
 
        ///
-       std::auto_ptr<InsetBase> clone() const;
+       std::auto_ptr<Inset> clone() const;
        ///
-       InsetBase::Code lyxCode() const { return MATHMACRO_CODE; }
+       Inset::Code lyxCode() const { return MATHMACRO_CODE; }
        ///
        docstring const & getInsetName() const { return name_; }
        ///