]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLim.h
Remove hardcoded values
[lyx.git] / src / mathed / InsetMathLim.h
index af1480dd0cfe83f79fad282b28e3221a0c9492d8..634c595e7f2d796af3b89a0bd774bdf1c72fb094 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,9 +24,10 @@ namespace lyx {
 class InsetMathLim : public InsetMathNest {
 public:
        ///
-       InsetMathLim(MathArray const & f, MathArray const & x, MathArray 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<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };