]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_deliminset.h
Replace LString.h with support/std_string.h,
[features.git] / src / mathed / math_deliminset.h
index 09731c8df87e6f2e3e9a5401a1971f3718ff17ed..11182dc4314e3a04daf93422cbc5308ab27b0a75 100644 (file)
@@ -1,17 +1,23 @@
 // -*- C++ -*-
+/**
+ * \file math_deliminset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Alejandro Aguilar Sierra
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_DELIMINSET_H
 #define MATH_DELIMINSET_H
 
 #include "math_nestinset.h"
-#include "LString.h"
+#include "support/std_string.h"
 
 
-/** A delimiter
- *  \author Alejandro Aguilar Sierra
- *
- * Full author contact details are available in file CREDITS
-*/
-
+/// A delimiter
 class MathDelimInset : public MathNestInset {
 public:
        ///
@@ -19,7 +25,7 @@ public:
        ///
        MathDelimInset(string const & left, string const & right, MathArray const &);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        MathDelimInset * asDelimInset() { return this; }
        ///
@@ -31,7 +37,7 @@ public:
        /// is it |...|?
        bool isAbs() const;
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;