]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacro.h
rename LyXFont to Font except in tex2lyx
[lyx.git] / src / mathed / MathMacro.h
index b4ff0a4041b3591420ac19b56318740c1ee75c6f..5d1428c7c0ee6c6a68669f0ff85ef8a307bd2d60 100644 (file)
@@ -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,17 +42,17 @@ public:
        void cursorPos(BufferView const & bv, CursorSlice const & sl,
                bool boundary, int & x, int & y) const;
        ///
-       InsetBase * editXY(LCursor & 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(LCursor &) const;
+       bool idxFirst(Cursor &) const;
        /// target pos when we enter the inset from the right by pressing "Left"
-       bool idxLast(LCursor &) const;
+       bool idxLast(Cursor &) const;
        ///
-       virtual bool notifyCursorLeaves(LCursor &);
+       virtual bool notifyCursorLeaves(Cursor &);
        ///
        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<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> 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_;
 };