]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLim.h
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / InsetMathLim.h
index 2a8f3e390bf140e408a48d2136f49b2abf48b5b3..1aee218906a55c152226a085f5261b321095065c 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,26 +24,28 @@ 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 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 maxima(MaximaStream &) const;
+       void maxima(MaximaStream &) const override;
        ///
-       void mathematica(MathematicaStream &) const;
+       void mathematica(MathematicaStream &) const override;
        ///
-       void mathmlize(MathStream &) const;
+       void write(WriteStream & os) const override;
        ///
-       void write(WriteStream & os) const;
+       InsetCode lyxCode() const override { return MATH_LIM_CODE; }
+
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       Inset * clone() const override;
 };