]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLefteqn.h
A little cleanup of the layout files.
[lyx.git] / src / mathed / InsetMathLefteqn.h
index 076b0be940133210969e6867109616ad079c067e..2a3825f2a4b82e488d7840beacce6e86a60f56b6 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.
  */
@@ -15,6 +15,9 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 /// Support for LaTeX's \\lefteqn command
 
 class InsetMathLefteqn : public InsetMathNest {
@@ -22,14 +25,17 @@ public:
        ///
        InsetMathLefteqn();
        ///
-       std::string name() const;
+       docstring name() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
+
+
+} // namespace lyx
 #endif