]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fracinset.h
tfracinset files is missing so all usage of tfrac is commented out
[lyx.git] / src / mathed / math_fracinset.h
index 7ae5ddeb4da21945c83601f1e59710f56cf40eea..90ea9c9fd755026bb7c5d378b6861ff1e3c6353b 100644 (file)
@@ -1,21 +1,28 @@
 // -*- C++ -*-
+/**
+ * \file math_fracinset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Alejandro Aguilar Sierra
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_FRACINSET_H
 #define MATH_FRACINSET_H
 
 #include "math_fracbase.h"
 
 
-/** Fraction like objects (frac, binom)
- *  \author Alejandro Aguilar Sierra
- *
- * Full author contact details are available in file CREDITS
- */
+/// Fraction like objects (frac, binom)
 class MathFracInset : public MathFracbaseInset {
 public:
        ///
        explicit MathFracInset(bool atop = false);
        ///
-       InsetBase * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -29,7 +36,7 @@ public:
        /// identifies FracInsets
        MathFracInset const * asFracInset() const;
        ///
-       string name() const;
+       std::string name() const;
 
        ///
        void write(WriteStream & os) const;