]> git.lyx.org Git - lyx.git/blob - src/mathed/math_macrotable.h
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_macrotable.h
1 // -*- C++ -*-
2 #ifndef MATH_MACROTABLE_H
3 #define MATH_MACROTABLE_H
4
5 #include <map>
6 #include "LString.h"
7 #include "math_atom.h"
8
9
10
11 ///
12 class MathMacroTable {
13 public:
14         ///
15         static void create(MathAtom const &);
16         ///
17         static MathAtom & provide(string const & name);
18         ///
19         static bool has(string const & name);
20         ///
21         static void dump();
22 private:
23         ///
24         typedef std::map<string, MathAtom> table_type;
25         //
26         static table_type macro_table;
27 };
28
29 #endif