X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathExFunc.h;h=ff99140cca6a1eaa259d3a469143888748ef4e2f;hb=593bfe248a15be99bfce7e12cde6c59c92951f5f;hp=1dc39f6b8f8d1717ed39d38606523ed132bf2d08;hpb=de6418f37765fe452f135f96dee6d49897bff215;p=lyx.git diff --git a/src/mathed/InsetMathExFunc.h b/src/mathed/InsetMathExFunc.h index 1dc39f6b8f..ff99140cca 100644 --- a/src/mathed/InsetMathExFunc.h +++ b/src/mathed/InsetMathExFunc.h @@ -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. */ @@ -15,8 +15,6 @@ #include "InsetMathNest.h" -#include - namespace lyx { @@ -26,29 +24,33 @@ namespace lyx { class InsetMathExFunc : public InsetMathNest { public: /// - explicit InsetMathExFunc(docstring const & name); + InsetMathExFunc(Buffer * buf, docstring const & name); /// - InsetMathExFunc(docstring const & name, MathArray const & ar); + InsetMathExFunc(Buffer * buf, docstring const & name, MathData const & ar); /// - 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 name() const; + docstring name() const override; /// - void maple(MapleStream &) const; + void maple(MapleStream &) const override; + /// + void maxima(MaximaStream &) const override; + /// + void mathematica(MathematicaStream &) const override; /// - void maxima(MaximaStream &) const; + void mathmlize(MathMLStream &) const override; /// - void mathematica(MathematicaStream &) const; + void htmlize(HtmlStream &) const override; /// - void mathmlize(MathStream &) const; + void octave(OctaveStream &) const override; /// - void octave(OctaveStream &) const; + InsetCode lyxCode() const override { return MATH_EXFUNC_CODE; } private: - virtual std::auto_ptr doClone() const; + Inset * clone() const override; /// docstring const name_; };