-/* $Id$
-
-This file is part of libmspdatafile
-Copyright © 2006 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
+#include <msp/io/zlibcompressed.h>
#include "binarywriter.h"
#include "statement.h"
#include "textwriter.h"
mode = new TextWriter(out);
}
+void Writer::set_compressed()
+{
+ Statement st;
+ st.keyword = "__z";
+ mode->write(st);
+
+ out.set_compressed();
+}
+
+void Writer::set_float_precision(unsigned fp)
+{
+ mode->set_float_precision(fp);
+}
+
} // namespace DataFile
} // namespace Msp