X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_factory.h;h=e5aac336b02166743fb7ad999419cd5a4f0852a1;hb=a8a1f10e765512b40f6942e5594363fe16542c1c;hp=56e0e916691b9dcc4f4112c69e8639c727451fb4;hpb=9295f8236e01a5e425d808eb0d2bdd0460d1f423;p=lyx.git diff --git a/src/mathed/math_factory.h b/src/mathed/math_factory.h index 56e0e91669..e5aac336b0 100644 --- a/src/mathed/math_factory.h +++ b/src/mathed/math_factory.h @@ -1,13 +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 -#include "LString.h" -#include "math_atom.h" +#include + +class MathAtom; +class MathArray; + -class MathInset; -class latexkeys; +MathAtom createMathInset(std::string const &); -MathAtom createMathInset(string const &); -MathAtom createMathInset(latexkeys 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(std::string const &, MathArray &); #endif