]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_numberinset.h
macro rework
[lyx.git] / src / mathed / math_numberinset.h
index 68a4cd5b4b3039925b1db914ed17ef3086036e75..fc9ed67070804c1f6a2363d3d14cee0851c16abc 100644 (file)
@@ -1,4 +1,14 @@
 // -*- C++ -*-
+/**
+ * \file math_numberinset.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_NUMBERINSET_H
 #define MATH_NUMBERINSET_H
 
 
 
 /** Some inset that "is" a number
- *  maily for math-extern
- *  \author André Pönitz
- *
- * Full author contact details are available in file CREDITS
+ *  mainly for math-extern
  */
-
 class MathNumberInset : public MathInset {
 public:
        ///
-       explicit MathNumberInset(string const & s);
+       explicit MathNumberInset(std::string const & s);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       string str() const { return str_; }
+       std::string str() const { return str_; }
        ///
        MathNumberInset * asNumberInset() { return this; }
 
@@ -40,6 +46,6 @@ public:
 
 private:
        /// the number as string
-       string str_;
+       std::string str_;
 };
 #endif