]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parboxinset.h
Get rid of lyxstring, remove usage of STRCONV.
[lyx.git] / src / mathed / math_parboxinset.h
index 1b56b32f74ded3a1aedf5e37fb935a8adf8abeda..6800cadf2150361013facfcfda7e5366bc68afbe 100644 (file)
@@ -1,3 +1,14 @@
+// -*- C++ -*-
+/**
+ * \file math_parboxinset.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_PARBOXINSET_H
 #define MATH_PARBOXINSET_H
 
@@ -13,11 +24,11 @@ public:
        ///
        MathParboxInset * asParboxInset() { return this; }
        ///
-       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 &, int x, int y) const;
        ///