X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSqrt.h;h=d2aab3282b027c2665b6baf34fffa098c178f3a3;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=6c15f6bc4297bfce74960fa34f53033a79437114;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathSqrt.h b/src/mathed/InsetMathSqrt.h index 6c15f6bc42..d2aab3282b 100644 --- a/src/mathed/InsetMathSqrt.h +++ b/src/mathed/InsetMathSqrt.h @@ -5,7 +5,7 @@ * Licence details can be found in the file COPYING. * * \author Alejandro Aguilar Sierra - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -16,11 +16,14 @@ #include "InsetMathNest.h" +namespace lyx { + + /// \c InsetMathSqrt The square root inset. class InsetMathSqrt : public InsetMathNest { public: /// - InsetMathSqrt(); + InsetMathSqrt(Buffer * buf); /// void draw(PainterInfo &, int x, int y) const; /// @@ -41,8 +44,18 @@ public: /// void octave(OctaveStream &) const; /// - void mathmlize(MathMLStream &) const; + void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; + /// + InsetCode lyxCode() const { return MATH_SQRT_CODE; } + /// + void validate(LaTeXFeatures &) const; + private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; }; + + +} // namespace lyx #endif