X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathExFunc.h;h=c3a43acfd1c0e0a605ab33a094316ae359701720;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=c0f8301f5851658d130f47166eed872d34035db5;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathExFunc.h b/src/mathed/InsetMathExFunc.h index c0f8301f58..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,8 @@ #include "InsetMathNest.h" -#include +namespace lyx { // f(x) in one block (as opposed to 'f','(','x',')' or 'f','x') // for interfacing external programs @@ -24,15 +24,15 @@ 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; @@ -41,13 +41,20 @@ 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 + #endif