]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_factory.h
Add In nsetOld * argument to updateInset to rebreak the correct par.
[lyx.git] / src / mathed / math_factory.h
index 8ed810fd04f434695dc362c20875cc38bddda7d8..a4389a158b8c344df3130a387b9d829c844e4e56 100644 (file)
@@ -1,9 +1,29 @@
+// -*- C++ -*-
+/**
+ * \file math_factory.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_FACTORY_H
 #define MATH_FACTORY_H
 
-class MathInset;
-class latexkeys;
 
-MathInset * createMathInset(latexkeys const *);
+#include "LString.h"
+
+class MathAtom;
+class MathArray;
+
+MathAtom createMathInset(string 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 createMathInset_fromDialogStr(string const &, MathArray &);
 
 #endif