]> git.lyx.org Git - lyx.git/blob - src/mathed/MathExtern.h
Fix compiling errors caused by r18701 (moving drawMarkers and drawMarkers2 back to...
[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 #include <string>
17
18 namespace lyx {
19
20 class NormalStream;
21 class MapleStream;
22 class MaximaStream;
23 class MathematicaStream;
24 class MathStream;
25 class OctaveStream;
26 class WriteStream;
27 class MathData;
28
29 void write(MathData const &, WriteStream &);
30 void normalize(MathData const &, NormalStream &);
31 void maple(MathData const &, MapleStream &);
32 void maxima(MathData const &, MaximaStream &);
33 void mathematica(MathData const &, MathematicaStream &);
34 void mathmlize(MathData const &, MathStream &);
35 void octave(MathData const &, OctaveStream &);
36
37 bool extractNumber(MathData const & ar, int & i);
38 bool extractNumber(MathData const & ar, double & i);
39
40 MathData pipeThroughExtern(std::string const & language,
41         docstring const & extra, MathData const & ar);
42
43
44 } // namespace lyx
45
46 #endif