]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLefteqn.h
typo
[lyx.git] / src / mathed / InsetMathLefteqn.h
index 076b0be940133210969e6867109616ad079c067e..87ff656d933f3435ad58c8417556fef56b38f319 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.
  */
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 /// Support for LaTeX's \\lefteqn command
 
 class InsetMathLefteqn : public InsetMathNest {
 public:
        ///
-       InsetMathLefteqn();
+       explicit InsetMathLefteqn(Buffer * buf);
+       ///
+       docstring name() const override;
        ///
-       std::string name() const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       void draw(PainterInfo & pi, int x, int y) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       void infoize(odocstream & os) const override;
        ///
-       void infoize(std::ostream & os) const;
+       InsetCode lyxCode() const override { return MATH_LEFTEQN_CODE; }
+
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       Inset * clone() const override;
 };
+
+
+} // namespace lyx
 #endif