]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXArrow.h
"fix" bug #3332 (plain text export depends on the menu language)
[lyx.git] / src / mathed / InsetMathXArrow.h
index 5f6c1124868f63fd58daa57ac7f42715a5e30a67..f76758c0d9191fb8ff44e21a7e94eb07217b9307 100644 (file)
 #include "InsetMathFracBase.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;
        ///
        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 validate(LaTeXFeatures & features) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        bool upper() const;
        ///
-       std::string const name_;
+       docstring const name_;
 };
+
+
+} // namespace lyx
 #endif