X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathString.h;h=6112b2546bbdf0a49b13a4034cb74032fd040366;hb=HEAD;hp=9544503041b25788ec4d78c6d998224a1a0e50a1;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/mathed/InsetMathString.h b/src/mathed/InsetMathString.h index 9544503041..6112b2546b 100644 --- a/src/mathed/InsetMathString.h +++ b/src/mathed/InsetMathString.h @@ -26,33 +26,35 @@ namespace lyx { class InsetMathString : public InsetMath { public: /// - explicit InsetMathString(docstring const & s); + explicit InsetMathString(Buffer * buf, docstring const & s); /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const override; /// - void draw(PainterInfo & pi, int x, int y) const; + void draw(PainterInfo & pi, int x, int y) const override; /// docstring str() const { return str_; } /// - InsetMathString * asStringInset() { return this; } + InsetMathString * asStringInset() override { return this; } /// - InsetMathString const * asStringInset() const { return this; } + InsetMathString const * asStringInset() const override { return this; } /// - void normalize(NormalStream &) const; + void normalize(NormalStream &) const override; /// - void octave(OctaveStream &) const; + void octave(OctaveStream &) const override; /// - void maple(MapleStream &) const; + void maple(MapleStream &) const override; /// - void mathematica(MathematicaStream &) const; + void mathematica(MathematicaStream &) const override; /// - void mathmlize(MathStream &) const; + void mathmlize(MathMLStream &) const override; /// - void write(WriteStream & os) const; + void write(TeXMathStream & os) const override; + /// + InsetCode lyxCode() const override { return MATH_STRING_CODE; } private: - virtual Inset * clone() const; + Inset * clone() const override; /// the string docstring str_; };