* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef OUTPUT_H
#define OUTPUT_H
-#include <iosfwd>
+#include "support/docstream.h"
-bool openFileWrite(std::ofstream & ofs, std::string const & fname);
+
+namespace lyx {
+
+namespace support { class FileName; }
+
+bool openFileWrite(std::ofstream & ofs, support::FileName const & fname);
+bool openFileWrite(ofdocstream & ofs, support::FileName const & fname);
+
+
+} // namespace lyx
#endif