]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
Last (?) batch of renames:
[lyx.git] / src / mathed / MathMacroTemplate.h
index cf46734618f290d0abce49e90add8e0cd82482c1..b657ea4793971fdf24d18f4b9f84c939856f23c6 100644 (file)
@@ -14,7 +14,7 @@
 #define MATH_MACROTEMPLATE_H
 
 #include "MathData.h"
-#include "MathMacroTable.h"
+#include "MacroTable.h"
 #include "InsetMathNest.h"
 
 #include "support/types.h"
@@ -30,24 +30,23 @@ public:
        ///
        MathMacroTemplate(docstring const & name, int nargs,
                docstring const & type,
-               MathArray const & = MathArray(),
-               MathArray const & = MathArray());
+               MathData const & = MathData(),
+               MathData const & = MathData());
        ///
        explicit MathMacroTemplate(const docstring & str);
        ///
-       void edit(LCursor & cur, bool left);
+       void edit(Cursor & cur, bool left);
        ///
        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;