]> git.lyx.org Git - lyx.git/blob - src/mathed/MathStream.C
make it compile again (hopefully)
[lyx.git] / src / mathed / MathStream.C
1 /**
2  * \file MathStream.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author André Pönitz
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "MathStream.h"
14 #include "MathMLStream.h"
15
16 using std::string;
17
18
19 WriteStream & operator<<(WriteStream & ws, string const & s)
20 {
21         ws << s.c_str();
22         return ws;
23 }
24
25
26 NormalStream & operator<<(NormalStream & ns, string const & s)
27 {
28         // FIXME UNICODE
29         ns.os() << lyx::from_utf8(s);
30         return ns;
31 }
32
33
34 MapleStream & operator<<(MapleStream & ms, string const & s)
35 {
36         // FIXME UNICODE
37         ms.os() << lyx::from_utf8(s);
38         return ms;
39 }
40
41
42 MaximaStream & operator<<(MaximaStream & ms, string const & s)
43 {
44         // FIXME UNICODE
45         ms.os() << lyx::from_utf8(s);
46         return ms;
47 }
48
49
50 MathematicaStream & operator<<(MathematicaStream & ms, string const & s)
51 {
52         // FIXME UNICODE
53         ms.os() << lyx::from_utf8(s);
54         return ms;
55 }
56
57
58 MathMLStream & operator<<(MathMLStream & ms, string const & s)
59 {
60         // FIXME UNICODE
61         ms.os() << lyx::from_utf8(s);
62         return ms;
63 }
64
65
66 OctaveStream & operator<<(OctaveStream & os, string const & s)
67 {
68         // FIXME UNICODE
69         os.os() << lyx::from_utf8(s);
70         return os;
71 }