]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_extern.h
Ensure all #warning statements are wrapped by #ifdef WITH_WARNINGS.
[lyx.git] / src / mathed / math_extern.h
index 134561cf5f0414aee22cb38c185b7057f99f465c..3fcf32a5b1e502e90a9ed67224d8bb8e92f8d025 100644 (file)
@@ -1,8 +1,24 @@
+// -*- C++ -*-
+/**
+ * \file math_extern.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_EXTERN_H
 #define MATH_EXTERN_H
 
+#include <string>
+
+
 class NormalStream;
 class MapleStream;
+class MaximaStream;
+class MathematicaStream;
 class MathMLStream;
 class OctaveStream;
 class WriteStream;
@@ -10,8 +26,16 @@ class MathArray;
 
 void write(MathArray const &, WriteStream &);
 void normalize(MathArray const &, NormalStream &);
-void maplize(MathArray const &, MapleStream &);
+void maple(MathArray const &, MapleStream &);
+void maxima(MathArray const &, MaximaStream &);
+void mathematica(MathArray const &, MathematicaStream &);
 void mathmlize(MathArray const &, MathMLStream &);
-void octavize(MathArray const &, OctaveStream &);
+void octave(MathArray const &, OctaveStream &);
+
+bool extractNumber(MathArray const & ar, int & i);
+bool extractNumber(MathArray const & ar, double & i);
+
+MathArray pipeThroughExtern(std::string const & lang, std::string const & extra,
+       MathArray const & ar);
 
 #endif