]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathExFunc.h
Introduce a return value for mathmlize(). We will need this to be able
[features.git] / src / mathed / InsetMathExFunc.h
index 9f91649f3d83192da07e3b5e59f8190bfc5cb597..0517484f388721dcd0136598593a4341b12a8bd8 100644 (file)
@@ -26,9 +26,9 @@ namespace lyx {
 class InsetMathExFunc : public InsetMathNest {
 public:
        ///
-       explicit InsetMathExFunc(docstring const & name);
+       InsetMathExFunc(Buffer * buf, docstring const & name);
        ///
-       InsetMathExFunc(docstring const & name, MathData const & ar);
+       InsetMathExFunc(Buffer * buf, docstring const & name, MathData const & ar);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -43,9 +43,11 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathStream &) const;
+       docstring mathmlize(MathStream &) const;
        ///
        void octave(OctaveStream &) const;
+       ///
+       InsetCode lyxCode() const { return MATH_EXFUNC_CODE; }
 
 private:
        virtual Inset * clone() const;