]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathExtern.h
Introduce a return value for mathmlize(). We will need this to be able
[features.git] / src / mathed / MathExtern.h
index 20fe9849ebc4631858215bb1c6773b28f7d30b3b..d367b1e901e33ba2331dcd27a2f60b6a94191708 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -12,8 +12,7 @@
 #ifndef MATH_EXTERN_H
 #define MATH_EXTERN_H
 
-#include "support/docstring.h"
-#include <string>
+#include "support/strfwd.h"
 
 namespace lyx {
 
@@ -24,21 +23,21 @@ class MathematicaStream;
 class MathStream;
 class OctaveStream;
 class WriteStream;
-class MathArray;
+class MathData;
 
-void write(MathArray const &, WriteStream &);
-void normalize(MathArray const &, NormalStream &);
-void maple(MathArray const &, MapleStream &);
-void maxima(MathArray const &, MaximaStream &);
-void mathematica(MathArray const &, MathematicaStream &);
-void mathmlize(MathArray const &, MathStream &);
-void octave(MathArray const &, OctaveStream &);
+void write(MathData const &, WriteStream &);
+void normalize(MathData const &, NormalStream &);
+void maple(MathData const &, MapleStream &);
+void maxima(MathData const &, MaximaStream &);
+void mathematica(MathData const &, MathematicaStream &);
+docstring mathmlize(MathData const &, MathStream &);
+void octave(MathData const &, OctaveStream &);
 
-bool extractNumber(MathArray const & ar, int & i);
-bool extractNumber(MathArray const & ar, double & i);
+bool extractNumber(MathData const & ar, int & i);
+bool extractNumber(MathData const & ar, double & i);
 
-MathArray pipeThroughExtern(std::string const & language,
-       docstring const & extra, MathArray const & ar);
+MathData pipeThroughExtern(std::string const & language,
+       docstring const & extra, MathData const & ar);
 
 
 } // namespace lyx