]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathFactory.h
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / MathFactory.h
index 0139490e6fe74328c089b082383cc0ebc384b636..5af1738211e7c42445ec03c321ac08faaba2cbbf 100644 (file)
 #ifndef MATH_FACTORY_H
 #define MATH_FACTORY_H
 
-#include <string>
+#include "support/strfwd.h"
+
+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 &);
+
+
+} // namespace lyx
 
 #endif