X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathComment.h;h=8cfe1368d7cb01cbf7465b8d096af8776194cdf0;hb=74f774d6cf18a897deb533d3afc697abb31f824e;hp=184c7bd1426fd25c96f6cb9e7327e22902fdf293;hpb=de6418f37765fe452f135f96dee6d49897bff215;p=lyx.git diff --git a/src/mathed/InsetMathComment.h b/src/mathed/InsetMathComment.h index 184c7bd142..8cfe1368d7 100644 --- a/src/mathed/InsetMathComment.h +++ b/src/mathed/InsetMathComment.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -23,9 +23,11 @@ class latexkeys; class InsetMathComment : public InsetMathNest { public: /// - InsetMathComment(); + InsetMathComment(Buffer * buf); /// - explicit InsetMathComment(docstring const &); + InsetMathComment(MathData const & ar); + /// + explicit InsetMathComment(Buffer * buf, docstring const &); /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// @@ -40,15 +42,19 @@ public: /// void maple(MapleStream &) const; /// - void mathematica(MathematicaStream &) const; + void mathematica(MathematicaStream &) const {} /// - void octave(OctaveStream &) const; + void octave(OctaveStream &) const {} /// void mathmlize(MathStream &) const; /// + void htmlize(HtmlStream &) const; + /// void infoize(odocstream & os) const; + /// + InsetCode lyxCode() const { return MATH_COMMENT_CODE; } private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; }; } // namespace lyx