X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathLim.h;h=634c595e7f2d796af3b89a0bd774bdf1c72fb094;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=bc95d0e38df834bfb848d99bb57713ff206a4c6f;hpb=32871c1284f15265f652ff01c438e539a7c8181f;p=lyx.git diff --git a/src/mathed/InsetMathLim.h b/src/mathed/InsetMathLim.h index bc95d0e38d..634c595e7f 100644 --- a/src/mathed/InsetMathLim.h +++ b/src/mathed/InsetMathLim.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. */ @@ -24,9 +24,10 @@ namespace lyx { class InsetMathLim : public InsetMathNest { public: /// - InsetMathLim(MathData const & f, MathData const & x, MathData const & x0); + InsetMathLim(Buffer * buf, MathData const & f, MathData const & x, + MathData const & x0); /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; @@ -39,11 +40,12 @@ public: /// void mathematica(MathematicaStream &) const; /// - void mathmlize(MathStream &) const; - /// void write(WriteStream & os) const; + /// + InsetCode lyxCode() const { return MATH_LIM_CODE; } + private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; };