]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_streamstr.h
some (yet unfinished) up/down work
[lyx.git] / src / mathed / math_streamstr.h
index bd4d4ef66d6db9cb8ffd5c781cd7c98ff4646201..32c6cf7a0ad04ae89bf590a6cd67cb19a923c314 100644 (file)
@@ -1,17 +1,36 @@
+// -*- C++ -*-
+/**
+ * \file math_streamstr.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_STREAMSTR_H
 #define MATH_STREAMSTR_H
 
-#include "LString.h"
-#include "math_mathmlstream.h"
+#include <string>
+
+class WriteStream;
+class NormalStream;
+class MapleStream;
+class MaximaStream;
+class MathematicaStream;
+class MathMLStream;
+class OctaveStream;
 
 //
 // writing strings directly
 //
 
-inline WriteStream & operator<<(WriteStream & ws, string const & s)
-{
-       ws << s.c_str();
-       return ws;
-}
-
+WriteStream & operator<<(WriteStream & ws, std::string const & s);
+NormalStream & operator<<(NormalStream & ns, std::string const & s);
+MapleStream & operator<<(MapleStream & ms, std::string const & s);
+MaximaStream & operator<<(MaximaStream & ms, std::string const & s);
+MathematicaStream & operator<<(MathematicaStream & ms, std::string const & s);
+MathMLStream & operator<<(MathMLStream & ms, std::string const & s);
+OctaveStream & operator<<(OctaveStream & os, std::string const & s);
 #endif