]> 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 6eebd908d0a234a74e1831699c0f71193d4d3d37..0517484f388721dcd0136598593a4341b12a8bd8 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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;