]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXArrow.h
* src/mathed/InsetMathHull.cpp:
[lyx.git] / src / mathed / InsetMathXArrow.h
index 5f6c1124868f63fd58daa57ac7f42715a5e30a67..a239fd053232d037315f1467563873efa19ad848 100644 (file)
 #ifndef MATH_XARROWINSET_H
 #define MATH_XARROWINSET_H
 
-#include "InsetMathFracBase.h"
+#include "InsetMathFrac.h"
+
+
+namespace lyx {
 
 
 /// Wide arrows like \xrightarrow
 class InsetMathXArrow : public InsetMathFracBase {
 public:
        ///
-       explicit InsetMathXArrow(std::string const & name);
+       explicit InsetMathXArrow(docstring const & name);
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -32,10 +35,13 @@ public:
        void validate(LaTeXFeatures & features) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        bool upper() const;
        ///
-       std::string const name_;
+       docstring const name_;
 };
+
+
+} // namespace lyx
 #endif