X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_factory.h;h=a4389a158b8c344df3130a387b9d829c844e4e56;hb=7338f3b980d4dc5793ff80be814b7a74e1c72274;hp=8ed810fd04f434695dc362c20875cc38bddda7d8;hpb=d9c3e3e8a97210eb433a58ea65aa10017f6e29c6;p=lyx.git diff --git a/src/mathed/math_factory.h b/src/mathed/math_factory.h index 8ed810fd04..a4389a158b 100644 --- a/src/mathed/math_factory.h +++ b/src/mathed/math_factory.h @@ -1,9 +1,29 @@ +// -*- C++ -*- +/** + * \file math_factory.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_FACTORY_H #define MATH_FACTORY_H -class MathInset; -class latexkeys; -MathInset * createMathInset(latexkeys const *); +#include "LString.h" + +class MathAtom; +class MathArray; + +MathAtom createMathInset(string const &); + +/** Fills ar with the contents of str. + * str is created by the frontend dialog's and returned to the LyX core. + * The function returns true if successful. + */ +bool createMathInset_fromDialogStr(string const &, MathArray &); #endif