--- /dev/null
+/* $Id$
+
+This file is part of libmspdatafile
+Copyright © 2006 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
+#ifndef MSP_DATAFILE_WRITER_H_
+#define MSP_DATAFILE_WRITER_H_
+
+#include <map>
+#include <ostream>
+#include "binarydict.h"
+
+namespace Msp {
+namespace DataFile {
+
+class Statement;
+class WriterMode;
+
+class Writer
+{
+private:
+ std::ostream &out;
+ WriterMode *mode;
+ bool binary;
+
+public:
+ Writer(std::ostream &);
+ void write(const Statement &);
+ void set_binary(bool);
+};
+
+} // namespace DataFile
+} // namespace Msp
+
+#endif