X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmathed%2FInsetMathDiff.h;h=063e5214cf73f703a3b20387a2a1f357bdab149b;hb=0cba074ecf0e25ede759ee1f817a7cfec06537d6;hp=2a8a5a53cc12d54fa33e86c039c2c6a3682f1515;hpb=31059d1741933d95403e7f07ed033cae482f778b;p=lyx.git diff --git a/src/mathed/InsetMathDiff.h b/src/mathed/InsetMathDiff.h index 2a8a5a53cc..063e5214cf 100644 --- a/src/mathed/InsetMathDiff.h +++ b/src/mathed/InsetMathDiff.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,11 +24,11 @@ namespace lyx { class InsetMathDiff : public InsetMathNest { public: /// - InsetMathDiff(); + InsetMathDiff(Buffer * buf); /// void addDer(MathData const & der); /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; @@ -39,13 +39,13 @@ public: /// void mathematica(MathematicaStream &) const; /// - void mathmlize(MathStream &) const; - /// void maxima(MaximaStream &) const; /// void write(WriteStream & os) const; + /// + InsetCode lyxCode() const { return MATH_DIFF_CODE; } private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; };