]> 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 89e17e9f8ce51d57a5774dfa5371fe5064ae9772..fbc130cda12e50d7255e28827b910fc30f8f9ae8 100644 (file)
 #ifndef MATH_FACTORY_H
 #define MATH_FACTORY_H
 
-#include "support/docstring.h"
-#include <string>
+#include "MathParser.h"
+
+#include "support/strfwd.h"
+
+#include <map>
 
 namespace lyx {
 
 class MathAtom;
-class MathArray;
+class MathData;
 
 
 MathAtom createInsetMath(docstring const &);
@@ -28,8 +31,10 @@ MathAtom createInsetMath(char const * const);
  *  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<docstring, latexkeys> MathWordList;
+MathWordList const & mathedWordList();
 
 } // namespace lyx