]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binominset.h
Remove mixed_content from output parameters.
[lyx.git] / src / mathed / math_binominset.h
index 58f1534c36b6cd977eb9196ad07e0d16ca0345e2..ee2703c8cda3f1cd16717b91caad7557b1946266 100644 (file)
@@ -1,25 +1,33 @@
 // -*- C++ -*-
+/**
+ * \file math_binominset.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_BINOMINSET_H
-#define MATH_DINOMINSET_H
+#define MATH_BINOMINSET_H
 
 #include "math_fracbase.h"
 
 
-/** Binom like objects
- *  \author André Pönitz
- */
+/// Binom like objects
 class MathBinomInset : public MathFracbaseInset {
 public:
        ///
        explicit MathBinomInset(bool choose = false);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
 private: