]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_streamstr.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_streamstr.h
index bd4d4ef66d6db9cb8ffd5c781cd7c98ff4646201..7f1293b31f7084d86f7b3a283ce12738f44c3d61 100644 (file)
@@ -1,17 +1,28 @@
+// -*- C++ -*-
+
 #ifndef MATH_STREAMSTR_H
 #define MATH_STREAMSTR_H
 
+
 #include "LString.h"
-#include "math_mathmlstream.h"
+
+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, string const & s);
+NormalStream & operator<<(NormalStream & ns, string const & s);
+MapleStream & operator<<(MapleStream & ms, string const & s);
+MaximaStream & operator<<(MaximaStream & ms, string const & s);
+MathematicaStream & operator<<(MathematicaStream & ms, string const & s);
+MathMLStream & operator<<(MathMLStream & ms, string const & s);
+OctaveStream & operator<<(OctaveStream & os, string const & s);
 #endif