]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_mathmlstream.h
small up/down tweaking
[lyx.git] / src / mathed / math_mathmlstream.h
index ebd7c652420dde39b2ab9c2bd96aa46564e4b1b9..9e75152e08ac56aa9a5dff5ee7f161cc561ac0ed 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef MATH_MATHMLSTREAM_H
 #define MATH_MATHMLSTREAM_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
 
 // Please keep all four streams in one file until the interface has
 // settled.
@@ -157,8 +160,6 @@ NormalStream & operator<<(NormalStream &, char);
 NormalStream & operator<<(NormalStream &, int);
 
 
-
-
 //
 // Maple
 //
@@ -188,6 +189,35 @@ MapleStream & operator<<(MapleStream &, char);
 MapleStream & operator<<(MapleStream &, int);
 
 
+//
+// Maxima
+//
+
+
+class MaximaStream {
+public:
+       ///
+       explicit MaximaStream(std::ostream & os) : os_(os) {}
+       ///
+       std::ostream & os() { return os_; }
+private:
+       ///
+       std::ostream & os_;
+};
+
+
+///
+MaximaStream & operator<<(MaximaStream &, MathAtom const &);
+///
+MaximaStream & operator<<(MaximaStream &, MathArray const &);
+///
+MaximaStream & operator<<(MaximaStream &, char const *);
+///
+MaximaStream & operator<<(MaximaStream &, char);
+///
+MaximaStream & operator<<(MaximaStream &, int);
+
+
 //
 // Mathematica
 //