X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathMacro.h;h=5d1428c7c0ee6c6a68669f0ff85ef8a307bd2d60;hb=fc6ce7cd08562fd7bab4427880b46390bb7d2f07;hp=72453cd8eb3bd7c4ae10093ab20e9c6f38125642;hpb=42123ab8a71080b6d15fca4e0c43ae76abf00a1e;p=lyx.git diff --git a/src/mathed/MathMacro.h b/src/mathed/MathMacro.h index 72453cd8eb..5d1428c7c0 100644 --- a/src/mathed/MathMacro.h +++ b/src/mathed/MathMacro.h @@ -14,9 +14,9 @@ #define MATH_MACRO_H #include "InsetMathNest.h" -#include "MathArray.h" +#include "MathData.h" #include "InsetMathNest.h" -#include "MathMacroTable.h" +#include "MacroTable.h" namespace lyx { @@ -42,7 +42,7 @@ public: void cursorPos(BufferView const & bv, CursorSlice const & sl, bool boundary, int & x, int & y) const; /// - InsetBase * editXY(Cursor & cur, int x, int y); + Inset * editXY(Cursor & cur, int x, int y); /// target pos when we enter the inset from the left by pressing "Right" bool idxFirst(Cursor &) const; /// target pos when we enter the inset from the right by pressing "Left" @@ -52,7 +52,7 @@ public: /// docstring name() const; /// - void setExpansion(MathArray const & exp, MathArray const & args) const; + void setExpansion(MathData const & exp, MathData const & args) const; /// void validate(LaTeXFeatures &) const; @@ -69,7 +69,7 @@ public: void infoize2(odocstream &) const; private: - virtual std::auto_ptr doClone() const; + virtual std::auto_ptr doClone() const; /// void updateExpansion() const; /// @@ -78,9 +78,9 @@ private: /// name of macro docstring name_; /// the unexpanded macro defintition - mutable MathArray tmpl_; + mutable MathData tmpl_; /// the macro substituted with our args - mutable MathArray expanded_; + mutable MathData expanded_; };