]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSqrt.h
remove unneeded header.
[lyx.git] / src / mathed / InsetMathSqrt.h
index 6c15f6bc4297bfce74960fa34f53033a79437114..bd8f46606659ac7e9713b6e222ba89ab9254759e 100644 (file)
@@ -16,6 +16,9 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 /// \c InsetMathSqrt The square root inset.
 class InsetMathSqrt : public InsetMathNest {
 public:
@@ -24,7 +27,7 @@ public:
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void drawT(TextPainter &, int x, int y) const;
        ///
@@ -41,8 +44,11 @@ public:
        ///
        void octave(OctaveStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };
+
+
+} // namespace lyx
 #endif