]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
"fix" bug #3332 (plain text export depends on the menu language)
[lyx.git] / src / mathed / MathMacroTemplate.h
index cdf5073544388a3576fcf331d9e24492510d77b5..7dd81890a997d7ac4115f386937f1fd9a8357ad8 100644 (file)
@@ -13,8 +13,8 @@
 #ifndef MATH_MACROTEMPLATE_H
 #define MATH_MACROTEMPLATE_H
 
-#include "MathArray.h"
-#include "MathMacroTable.h"
+#include "MathData.h"
+#include "MacroTable.h"
 #include "InsetMathNest.h"
 
 #include "support/types.h"
@@ -30,8 +30,8 @@ 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);
        ///
@@ -65,10 +65,10 @@ public:
        /// identifies macro templates
        MathMacroTemplate const * asMacroTemplate() const { return this; }
        ///
-       InsetBase::Code lyxCode() const { return MATHMACRO_CODE; }
+       Inset::Code lyxCode() const { return MATHMACRO_CODE; }
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// prefix in inset
        docstring prefix() const;