]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_braceinset.h
Compile fix gcc 2.95 + stlport
[lyx.git] / src / mathed / math_braceinset.h
index 7ba25f3d6af41405ad2547716502e44e7900f964..49960a4898976be93a355c114d9e26171afd1877 100644 (file)
@@ -1,16 +1,21 @@
 // -*- C++ -*-
+/**
+ * \file math_braceinset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_BRACEINSET_H
 #define MATH_BRACEINSET_H
 
 #include "math_nestinset.h"
 
 
-/** Extra nesting
- *  \author André Pönitz
- *
- * Full author contact details are available in file CREDITS
-*/
-
+/// Extra nesting
 class MathBraceInset : public MathNestInset {
 public:
        ///
@@ -18,11 +23,11 @@ public:
        ///
        MathBraceInset(MathArray const & ar);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///
-       void metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///