X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathExFunc.h;h=c3a43acfd1c0e0a605ab33a094316ae359701720;hb=02e82157ec583c3900e359de86be79fac6512387;hp=2a12899d11427d9b6c085b331ce4d5c5aa04052e;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathExFunc.h b/src/mathed/InsetMathExFunc.h index 2a12899d11..c3a43acfd1 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,15 +24,15 @@ namespace lyx { class InsetMathExFunc : public InsetMathNest { public: /// - explicit InsetMathExFunc(std::string const & name); + InsetMathExFunc(Buffer * buf, docstring const & name); /// - InsetMathExFunc(std::string const & name, MathArray const & ar); + InsetMathExFunc(Buffer * buf, docstring const & name, MathData const & ar); /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// - std::string name() const; + docstring name() const; /// void maple(MapleStream &) const; @@ -43,14 +41,18 @@ public: /// void mathematica(MathematicaStream &) const; /// - void mathmlize(MathMLStream &) const; + void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; /// void octave(OctaveStream &) const; + /// + InsetCode lyxCode() const { return MATH_EXFUNC_CODE; } private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; /// - std::string const name_; + docstring const name_; }; } // namespace lyx