]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_boxinset.h
Replace LString.h with support/std_string.h,
[features.git] / src / mathed / math_boxinset.h
index 37553b1af6ed7a43a2e1ff7860405088b2666e86..6ab4d1c7a2bdedde21b5f342940c8162fa9ac4f3 100644 (file)
@@ -1,9 +1,19 @@
 // -*- C++ -*-
+/**
+ * \file math_boxinset.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_BOXINSET_H
 #define MATH_BOXINSET_H
 
 #include "math_nestinset.h"
-#include "LString.h"
+#include "support/std_string.h"
 
 
 class LyXFont;
@@ -15,11 +25,11 @@ public:
        ///
        explicit MathBoxInset(string const & name);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       void metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///