X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathComment.h;h=f084bb52b76acd465fd738956a19d52e645a7bc9;hb=32871c1284f15265f652ff01c438e539a7c8181f;hp=7bec2fce6b10a938de29a269dc2765eecd0d5083;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathComment.h b/src/mathed/InsetMathComment.h index 7bec2fce6b..f084bb52b7 100644 --- a/src/mathed/InsetMathComment.h +++ b/src/mathed/InsetMathComment.h @@ -15,6 +15,8 @@ #include "InsetMathNest.h" +namespace lyx { + class latexkeys; /// Inset for end-of-line comments @@ -23,9 +25,9 @@ public: /// InsetMathComment(); /// - explicit InsetMathComment(std::string const &); + explicit InsetMathComment(docstring const &); /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -42,10 +44,13 @@ public: /// void octave(OctaveStream &) const; /// - void mathmlize(MathMLStream &) const; + void mathmlize(MathStream &) const; /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; private: - virtual std::auto_ptr doClone() const; + virtual std::auto_ptr doClone() const; }; + +} // namespace lyx + #endif