]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLefteqn.h
Avoid markers for macros without arguments
[lyx.git] / src / mathed / InsetMathLefteqn.h
index aecffbfe6c6d201e33418c0d347bf7212e40a181..1adb0bd4001de7ecc8723d1dddb7b269a732ebfa 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.
  */
@@ -23,17 +23,20 @@ namespace lyx {
 class InsetMathLefteqn : public InsetMathNest {
 public:
        ///
-       InsetMathLefteqn();
+       InsetMathLefteqn(Buffer * buf);
        ///
        docstring name() const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        void infoize(odocstream & os) const;
+       ///
+       InsetCode lyxCode() const { return MATH_LEFTEQN_CODE; }
+
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };