X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathFactory.h;h=b6fdb5044a34aea6e3b2073194d76ca22b74f254;hb=d9082639080b9de993742bd352f92e5183058cf5;hp=89e17e9f8ce51d57a5774dfa5371fe5064ae9772;hpb=de6418f37765fe452f135f96dee6d49897bff215;p=lyx.git diff --git a/src/mathed/MathFactory.h b/src/mathed/MathFactory.h index 89e17e9f8c..b6fdb5044a 100644 --- a/src/mathed/MathFactory.h +++ b/src/mathed/MathFactory.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -12,24 +12,29 @@ #ifndef MATH_FACTORY_H #define MATH_FACTORY_H -#include "support/docstring.h" -#include +#include "MathParser.h" + +#include "support/strfwd.h" + +#include namespace lyx { class MathAtom; -class MathArray; +class MathData; -MathAtom createInsetMath(docstring const &); -MathAtom createInsetMath(char const * const); +MathAtom createInsetMath(docstring const &, Buffer * buf); +MathAtom createInsetMath(char const * const, Buffer * buf); /** 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 createInsetMath_fromDialogStr(docstring const &, MathArray &); +bool createInsetMath_fromDialogStr(docstring const &, MathData &); +typedef std::map MathWordList; +MathWordList const & mathedWordList(); } // namespace lyx