]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.cpp
Remove years forgotten files.
[lyx.git] / src / mathed / InsetMathComment.cpp
index f64f3729007c1f7fd7f40164641dd726b1662f94..096cf38752d80371d7b6941d9ebad25459205e02 100644 (file)
 
 namespace lyx {
 
-InsetMathComment::InsetMathComment()
-       : InsetMathNest(1)
+InsetMathComment::InsetMathComment(Buffer * buf)
+       : InsetMathNest(buf, 1)
 {}
 
 
-InsetMathComment::InsetMathComment(docstring const & str)
-       : InsetMathNest(1)
+InsetMathComment::InsetMathComment(Buffer * buf, docstring const & str)
+       : InsetMathNest(buf, 1)
 {
        // FIXME UNICODE
        asArray(str, cell(0));
@@ -78,17 +78,15 @@ void InsetMathComment::maple(MapleStream & os) const
 }
 
 
-void InsetMathComment::mathematica(MathematicaStream &) const
-{}
-
-
-void InsetMathComment::octave(OctaveStream &) const
-{}
+void InsetMathComment::mathmlize(MathStream & os) const
+{
+       os << MTag("comment") << cell(0) << ETag("comment");
+}
 
 
-void InsetMathComment::mathmlize(MathStream & os) const
+void InsetMathComment::htmlize(HtmlStream & os) const
 {
-       os << MTag("comment") << cell(0) << cell(1) << ETag("comment");
+       os << "<!-- " << cell(0) << " -->";
 }