]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiff.h
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / InsetMathDiff.h
index ca7d0e8dca39edfcd0b606f7b068913c32d00c31..486caa2b872d3f34fd17eed4714407176bf2e745 100644 (file)
@@ -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,28 +24,28 @@ namespace lyx {
 class InsetMathDiff : public InsetMathNest {
 public:
        ///
-       InsetMathDiff();
+       explicit InsetMathDiff(Buffer * buf);
        ///
        void addDer(MathData const & der);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const override;
 
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream &) const override;
        ///
-       void maple(MapleStream &) const;
+       void maple(MapleStream &) const override;
        ///
-       void mathematica(MathematicaStream &) const;
+       void mathematica(MathematicaStream &) const override;
        ///
-       void mathmlize(MathStream &) const;
+       void maxima(MaximaStream &) const override;
        ///
-       void maxima(MaximaStream &) const;
+       void write(WriteStream & os) const override;
        ///
-       void write(WriteStream & os) const;
+       InsetCode lyxCode() const override { return MATH_DIFF_CODE; }
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const override;
 };