]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_substackinset.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / mathed / math_substackinset.h
index 4d7b8fabf687a85556c8a7e92132c5bd3a07cb69..8013695740924d0ff4d04e00c8b21265324ecc4b 100644 (file)
@@ -1,4 +1,14 @@
 // -*- C++ -*-
+/**
+ * \file math_substackinset.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_SUBSTACK_H
 #define MATH_SUBSTACK_H
 
@@ -12,8 +22,6 @@ public:
        ///
        MathSubstackInset();
        ///
-       MathInset * clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -30,6 +38,8 @@ public:
        void normalize(NormalStream &) const;
        ///
        void maple(MapleStream &) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif