* 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.
*/
#ifndef MATH_FACTORY_H
#define MATH_FACTORY_H
-#include <map>
-
#include "MathParser.h"
#include "support/strfwd.h"
-using std::map;
+#include <map>
namespace lyx {
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.
*/
bool createInsetMath_fromDialogStr(docstring const &, MathData &);
-typedef map<docstring, latexkeys> WordList;
-WordList const & mathedWordList();
+typedef std::map<docstring, latexkeys> MathWordList;
+MathWordList const & mathedWordList();
} // namespace lyx