]> git.lyx.org Git - lyx.git/blob - src/mathed/MathFactory.h
g-brief loads babel internally. So don't load it ourselves.
[lyx.git] / src / mathed / MathFactory.h
1 // -*- C++ -*-
2 /**
3  * \file MathFactory.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_FACTORY_H
13 #define MATH_FACTORY_H
14
15 #include "MathParser.h"
16
17 #include "support/strfwd.h"
18
19 #include <map>
20
21 namespace lyx {
22
23 class MathAtom;
24 class MathData;
25
26
27 MathAtom createInsetMath(docstring const &, Buffer * buf);
28 MathAtom createInsetMath(char const * const, Buffer * buf);
29
30 /** Fills ar with the contents of str.
31  *  str is created by the frontend dialog's and returned to the LyX core.
32  *  The function returns true if successful.
33  */
34 bool createInsetMath_fromDialogStr(docstring const &, MathData &);
35
36 typedef std::map<docstring, latexkeys> MathWordList;
37 MathWordList const & mathedWordList();
38
39 } // namespace lyx
40
41 #endif