]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.h
Merge branch 'master' into biblatex2
[lyx.git] / src / mathed / InsetMathComment.h
index 184c7bd1426fd25c96f6cb9e7327e22902fdf293..8cfe1368d7cb01cbf7465b8d096af8776194cdf0 100644 (file)
@@ -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<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
 
 } // namespace lyx