X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathFrac.h;h=e80389281b4860468c71c512b4f72c0f7f93956d;hb=2640b2122838b7025b8494fb378b8927fca75831;hp=34fa136f80436a1ed1de482d1106253c476d6a30;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathFrac.h b/src/mathed/InsetMathFrac.h index 34fa136f80..e80389281b 100644 --- a/src/mathed/InsetMathFrac.h +++ b/src/mathed/InsetMathFrac.h @@ -16,6 +16,9 @@ #include "InsetMathFracBase.h" +namespace lyx { + + /// Fraction like objects (frac, binom) class InsetMathFrac : public InsetMathFracBase { public: @@ -30,7 +33,7 @@ public: /// explicit InsetMathFrac(Kind kind = FRAC); /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo &, int x, int y) const; /// @@ -42,7 +45,7 @@ public: /// identifies FracInsets InsetMathFrac const * asFracInset() const; /// - std::string name() const; + docstring name() const; /// bool extraBraces() const; @@ -55,13 +58,16 @@ public: /// void octave(OctaveStream &) const; /// - void mathmlize(MathMLStream &) const; + void mathmlize(MathStream &) const; /// void validate(LaTeXFeatures & features) const; public: - virtual std::auto_ptr doClone() const; + virtual std::auto_ptr doClone() const; /// Kind kind_; }; + + +} // namespace lyx #endif