X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathDiff.h;h=063e5214cf73f703a3b20387a2a1f357bdab149b;hb=c56d524cd6af5d0ed0d50fef51ab434ce418d1e0;hp=f981b67ea29b62739b44c78076edd60fa40d6998;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathDiff.h b/src/mathed/InsetMathDiff.h index f981b67ea2..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,9 +24,9 @@ namespace lyx { class InsetMathDiff : public InsetMathNest { public: /// - InsetMathDiff(); + InsetMathDiff(Buffer * buf); /// - void addDer(MathArray const & der); + void addDer(MathData const & der); /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// @@ -39,13 +39,13 @@ public: /// void mathematica(MathematicaStream &) const; /// - void mathmlize(MathMLStream &) 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; };