]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDecoration.h
Get package things working with modules prior to UI patch.
[lyx.git] / src / mathed / InsetMathDecoration.h
index 0834e155778315327c68ef93b35e506f0c839cb1..b755a1635f2bcdd5166203be69a7c80337470c10 100644 (file)
@@ -16,6 +16,8 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
 class latexkeys;
 
 /// Decorations and accents over (below) a math object
@@ -28,18 +30,18 @@ public:
        ///
        void write(WriteStream & os) const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void normalize(NormalStream & os) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        bool isScriptable() const;
        ///
        void validate(LaTeXFeatures & features) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        bool upper() const;
        ///
@@ -58,4 +60,7 @@ private:
        /// width for non-wide deco
        mutable int dw_;
 };
+
+} // namespace lyx
+
 #endif