]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMacroTemplate.h
We only support gcc >= 4.9.
[lyx.git] / src / mathed / InsetMathMacroTemplate.h
index 24a0b14875bc276c43c3249bb8e23a0df682cf68..105dcfb7ff938192161c09223354ef2e6c6b2e0b 100644 (file)
@@ -29,8 +29,8 @@ public:
        ///
        explicit InsetMathMacroTemplate(Buffer * buf);
        ///
-       InsetMathMacroTemplate(Buffer * buf, docstring const & name, int nargs,
-               int optional, MacroType type,
+       InsetMathMacroTemplate(Buffer * buf, docstring const & name, int numargs,
+               int optionals, MacroType type,
                std::vector<MathData> const & optionalValues = std::vector<MathData>(),
                MathData const & def = MathData(),
                MathData const & display = MathData());
@@ -47,10 +47,10 @@ public:
        ///
        void write(std::ostream & os) const override;
        ///
-       void write(WriteStream & os) const override;
+       void write(TeXMathStream & os) const override;
        /// Output LaTeX code, but assume that the macro is not defined yet
        /// if overwriteRedefinition is true
-       int write(WriteStream & os, bool overwriteRedefinition) const;
+       int write(TeXMathStream & os, bool overwriteRedefinition) const;
        /// Nothing happens. This is simply to suppress the default output.
        docstring xhtml(XMLStream &, OutputParams const &) const override;
        ///