]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binominset.h
float2string #4 (Spacing)
[lyx.git] / src / mathed / math_binominset.h
index c583c46099eb678c5f387d25afed5539c018a993..08a8985765661edd8bb3328ddb4f29796bfbfcaa 100644 (file)
@@ -1,20 +1,26 @@
 // -*- 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);
        ///
-       InsetBase * clone() const;
-       ///
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
@@ -23,6 +29,7 @@ public:
        ///
        void draw(PainterInfo &, int x, int y) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        int dw() const;
        ///