X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_extern.h;h=3fcf32a5b1e502e90a9ed67224d8bb8e92f8d025;hb=12ac7f339e14c4f76a24f45a21c0697303099145;hp=134561cf5f0414aee22cb38c185b7057f99f465c;hpb=9921635d78cc2c1c304584dc8d18a7e83488ed1b;p=lyx.git diff --git a/src/mathed/math_extern.h b/src/mathed/math_extern.h index 134561cf5f..3fcf32a5b1 100644 --- a/src/mathed/math_extern.h +++ b/src/mathed/math_extern.h @@ -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 + + 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