]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathFactory.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / MathFactory.h
index 0139490e6fe74328c089b082383cc0ebc384b636..fbc130cda12e50d7255e28827b910fc30f8f9ae8 100644 (file)
 #ifndef MATH_FACTORY_H
 #define MATH_FACTORY_H
 
-#include <string>
+#include "MathParser.h"
+
+#include "support/strfwd.h"
+
+#include <map>
+
+namespace lyx {
 
 class MathAtom;
-class MathArray;
+class MathData;
 
 
-MathAtom createInsetMath(std::string const &);
+MathAtom createInsetMath(docstring const &);
+MathAtom createInsetMath(char const * 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 createInsetMath_fromDialogStr(std::string const &, MathArray &);
+bool createInsetMath_fromDialogStr(docstring const &, MathData &);
+
+typedef std::map<docstring, latexkeys> MathWordList;
+MathWordList const & mathedWordList();
+
+} // namespace lyx
 
 #endif