+#include <config.h>
+
#ifdef __GNUG__
#pragma implementation
#endif
#include "math_binaryopinset.h"
#include "Painter.h"
#include "support/LOstream.h"
-#include "support.h"
+#include "math_support.h"
+#include "math_mathmlstream.h"
MathBinaryOpInset::MathBinaryOpInset(char op)
}
-void MathBinaryOpInset::write(MathWriteInfo & os) const
+void MathBinaryOpInset::write(WriteStream & os) const
{
os << '{' << cell(0) << op_ << cell(1) << '}';
}
-void MathBinaryOpInset::writeNormal(std::ostream & os) const
+void MathBinaryOpInset::normalize(NormalStream & os) const
{
- os << "[binop " << op_ << ' ';
- cell(0).writeNormal(os);
- os << " ";
- cell(1).writeNormal(os);
- os << "]";
+ os << "[binop " << op_ << ' ' << cell(0) << ' ' << cell(1) << ']';
}