]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotemplate.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / mathed / math_macrotemplate.h
index 405eeb331172e24ade293c1d44c44dfd69455dc3..ef439add4f52185643899169d9120275b177d31e 100644 (file)
@@ -20,12 +20,12 @@ public:
        ///
        MathMacroTemplate();
        ///
-       MathMacroTemplate(string const & name, int nargs,
+       MathMacroTemplate(string const & name, int nargs, string const & type,
                MathArray const & = MathArray(), MathArray const & = MathArray());
        ///
        explicit MathMacroTemplate(std::istream & is);
        ///
-       InsetBase * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void write(WriteStream & os) const;
        /// Number of arguments
@@ -47,6 +47,8 @@ private:
        int numargs_;
        ///
        string name_;
+       /// newcommand or renewcommand or def
+       string type_;
 };
 
 #endif