mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
99d1627a47
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
30 lines
442 B
C++
30 lines
442 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_MACROTABLE_H
|
|
#define MATH_MACROTABLE_H
|
|
|
|
#include <map>
|
|
#include "LString.h"
|
|
#include "math_atom.h"
|
|
|
|
|
|
|
|
///
|
|
class MathMacroTable {
|
|
public:
|
|
///
|
|
static void create(MathAtom const &);
|
|
///
|
|
static MathAtom & provide(string const & name);
|
|
///
|
|
static bool has(string const & name);
|
|
///
|
|
static void dump();
|
|
private:
|
|
///
|
|
typedef std::map<string, MathAtom> table_type;
|
|
//
|
|
static table_type macro_table;
|
|
};
|
|
|
|
#endif
|