]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.h
hopefully fix tex2lyx linking.
[lyx.git] / src / output_plaintext.h
index f4ad4f7768dfcceeb4db6df3d36dec0e5ae8f872..16eb1414f1ff82ca9f9f7f36abce587e24b916b9 100644 (file)
 #ifndef OUTPUT_PLAINTEXT_H
 #define OUTPUT_PLAINTEXT_H
 
-#include <iosfwd>
-#include <string>
+#include "support/docstream.h"
+
+
+namespace lyx {
 
 class Buffer;
 class OutputParams;
@@ -25,13 +27,15 @@ void writeFileAscii(Buffer const & buf, std::string const &,
        OutputParams const &);
 
 ///
-void writeFileAscii(Buffer const & buf, std::ostream &, OutputParams const &);
+void writeFileAscii(Buffer const & buf, odocstream &, OutputParams const &);
 
 ///
 void asciiParagraph(Buffer const & buf,
                    Paragraph const & paragraphs,
-                   std::ostream & ofs,
+                   odocstream & ofs,
                    OutputParams const &,
                    bool & ref_printed);
 
+} // namespace lyx
+
 #endif