]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathOverset.h
* src/mathed/InsetMathHull.cpp:
[lyx.git] / src / mathed / InsetMathOverset.h
index 4f397fdbf78216f38d88af468d86da1de558f673..c5e728188593fd4aa7d56260569f2e6942b2913d 100644 (file)
 #define MATH_OVERSETINSET_H
 
 
-#include "InsetMathFracBase.h"
+#include "InsetMathFrac.h"
+
+
+namespace lyx {
 
 /// Inset for overset
 class InsetMathOverset : public InsetMathFracBase {
@@ -23,9 +26,9 @@ public:
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       bool idxFirst(LCursor &) const;
+       bool idxFirst(Cursor &) const;
        ///
-       bool idxLast(LCursor &) const;
+       bool idxLast(Cursor &) const;
        ///
        void write(WriteStream & os) const;
        ///
@@ -33,7 +36,10 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
 
+
+
+} // namespace lyx
 #endif