]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
rename LyXLex into Lexer
[lyx.git] / src / mathed / MathMacroTemplate.h
index cf46734618f290d0abce49e90add8e0cd82482c1..dc0b278e72ea3feb0d923ea4b9ca434cbb7b3be8 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef MATH_MACROTEMPLATE_H
 #define MATH_MACROTEMPLATE_H
 
-#include "MathData.h"
+#include "MathArray.h"
 #include "MathMacroTable.h"
 #include "InsetMathNest.h"
 
@@ -39,15 +39,14 @@ public:
        ///
        EDITABLE editable() const { return HIGHLY_EDITABLE; }
        ///
-       void read(Buffer const &, LyXLex & lex);
+       void read(Buffer const &, Lexer & lex);
        ///
        void write(Buffer const &, std::ostream & os) const;
        ///
        void write(WriteStream & os) const;
        ///
-       int plaintext(Buffer const &, odocstream & os,
-                       OutputParams const &) const
-       { os << "[math macro]"; return 12; }
+       int plaintext(Buffer const &, odocstream &,
+                     OutputParams const &) const;
 
        /// Number of arguments
        int numargs() const;