]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathOverset.h
Get package things working with modules prior to UI patch.
[lyx.git] / src / mathed / InsetMathOverset.h
index 4f397fdbf78216f38d88af468d86da1de558f673..078ccf55713971c2e39fadd75624bac044caeb14 100644 (file)
 
 #include "InsetMathFracBase.h"
 
+
+namespace lyx {
+
 /// Inset for overset
 class InsetMathOverset : public InsetMathFracBase {
 public:
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        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 std::auto_ptr<Inset> doClone() const;
 };
 
+
+
+} // namespace lyx
 #endif