]> git.lyx.org Git - lyx.git/blob - src/mathed/MathExtern.h
move everything into namespace lyx
[lyx.git] / src / mathed / MathExtern.h
1 // -*- C++ -*-
2 /**
3  * \file MathExtern.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_EXTERN_H
13 #define MATH_EXTERN_H
14
15 #include "support/docstring.h"
16
17
18 namespace lyx {
19
20
21 class NormalStream;
22 class MapleStream;
23 class MaximaStream;
24 class MathematicaStream;
25 class MathMLStream;
26 class OctaveStream;
27 class WriteStream;
28 class MathArray;
29
30 void write(MathArray const &, WriteStream &);
31 void normalize(MathArray const &, NormalStream &);
32 void maple(MathArray const &, MapleStream &);
33 void maxima(MathArray const &, MaximaStream &);
34 void mathematica(MathArray const &, MathematicaStream &);
35 void mathmlize(MathArray const &, MathMLStream &);
36 void octave(MathArray const &, OctaveStream &);
37
38 bool extractNumber(MathArray const & ar, int & i);
39 bool extractNumber(MathArray const & ar, double & i);
40
41 MathArray pipeThroughExtern(std::string const & lang, docstring const & extra,
42         MathArray const & ar);
43
44
45 } // namespace lyx
46
47 #endif