#include "InsetMathComment.h"
#include "MathData.h"
-#include "MathMLStream.h"
+#include "MathStream.h"
#include "MathSupport.h"
#include "support/std_ostream.h"
+
+namespace lyx {
+
using std::string;
using std::auto_ptr;
{}
-InsetMathComment::InsetMathComment(string const & str)
+InsetMathComment::InsetMathComment(docstring const & str)
: InsetMathNest(1)
{
+ // FIXME UNICODE
asArray(str, cell(0));
}
{}
-void InsetMathComment::mathmlize(MathMLStream & os) const
+void InsetMathComment::mathmlize(MathStream & os) const
{
os << MTag("comment") << cell(0) << cell(1) << ETag("comment");
}
-void InsetMathComment::infoize(std::ostream & os) const
+void InsetMathComment::infoize(odocstream & os) const
{
os << "Comment";
}
+
+
+} // namespace lyx