]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathRoot.h
Introduce a return value for mathmlize(). We will need this to be able
[features.git] / src / mathed / InsetMathRoot.h
index aaa62834f3acbf3b0a37d826876564d1e4f14550..e05cc807a303f8d85cc37fd3e6acd1d30cdf09fa 100644 (file)
@@ -23,7 +23,7 @@ namespace lyx {
 class InsetMathRoot : public InsetMathNest {
 public:
        ///
-       InsetMathRoot();
+       InsetMathRoot(Buffer * buf);
        ///
        bool idxUpDown(Cursor & cur, bool up) const;
        ///
@@ -36,13 +36,16 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void mathmlize(MathStream &) const;
+       docstring mathmlize(MathStream &) const;
        ///
        void maple(MapleStream &) const;
        ///
        void mathematica(MathematicaStream &) const;
        ///
        void octave(OctaveStream &) const;
+       ///
+       InsetCode lyxCode() const { return MATH_ROOT_CODE; }
+
 private:
        virtual Inset * clone() const;
 };