]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_decorationinset.h
Replace LString.h with support/std_string.h,
[features.git] / src / mathed / math_decorationinset.h
index 09c50d58d324fa835081d9ac3749f42d75c5b69d..6d2a23b66193761d2ac3db5c0445a34913cc2215 100644 (file)
@@ -1,31 +1,37 @@
 // -*- C++ -*-
+/**
+ * \file math_decorationinset.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_DECORATIONINSET_H
 #define MATH_DECORATIONINSET_H
 
 #include "math_nestinset.h"
-#include "LString.h"
+#include "support/std_string.h"
 
 
-/** Decorations and accents over (below) a math object
- *  \author Alejandro Aguilar Sierra
- *
- * Full author contact details are available in file CREDITS
- */
-
 class latexkeys;
 
+/// Decorations and accents over (below) a math object
 class MathDecorationInset : public MathNestInset {
 public:
        ///
        explicit MathDecorationInset(latexkeys const * key);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
        void write(WriteStream & os) const;
        ///
-       void metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void normalize(NormalStream & os) const;
        ///