X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathXArrow.h;h=f76758c0d9191fb8ff44e21a7e94eb07217b9307;hb=a746aa52146257c0e7a2d60123f63dccad5b2751;hp=5f6c1124868f63fd58daa57ac7f42715a5e30a67;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathXArrow.h b/src/mathed/InsetMathXArrow.h index 5f6c112486..f76758c0d9 100644 --- a/src/mathed/InsetMathXArrow.h +++ b/src/mathed/InsetMathXArrow.h @@ -15,27 +15,33 @@ #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 doClone() const; + virtual std::auto_ptr doClone() const; /// bool upper() const; /// - std::string const name_; + docstring const name_; }; + + +} // namespace lyx #endif