]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_diffinset.h
revert Buffer LyxText->InsetText commit
[lyx.git] / src / mathed / math_diffinset.h
index ceb00f853f9e6f3177b60724e90f7e714c1a1c4a..4eaeaf44f90b393301fc8bd3e9d4e6090927063b 100644 (file)
@@ -1,4 +1,14 @@
 // -*- C++ -*-
+/**
+ * \file math_diffinset.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_DIFFINSET_H
 #define MATH_DIFFINSET_H
 
@@ -13,11 +23,11 @@ public:
        ///
        explicit MathDiffInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void addDer(MathArray const & der);
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;