X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_macrotable.h;h=8a6b191e4e1602ab336af568dc7e29555905c601;hb=7338f3b980d4dc5793ff80be814b7a74e1c72274;hp=91765b9f135aa5a2da2ef1c80ec51ba8fb303591;hpb=1c77a120de8a2ed328d3700f9af75bfebe36793c;p=lyx.git diff --git a/src/mathed/math_macrotable.h b/src/mathed/math_macrotable.h index 91765b9f13..8a6b191e4e 100644 --- a/src/mathed/math_macrotable.h +++ b/src/mathed/math_macrotable.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_macrotable.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_MACROTABLE_H #define MATH_MACROTABLE_H @@ -6,34 +16,22 @@ #include "LString.h" #include "math_atom.h" -#ifdef __GNUG__ -#pragma interface -#endif - -class MathArray; -/// -struct MathMacroTable { +class MathMacroTable { public: /// - static void create(string const &, int); - /// - static void create(string const &, int, MathArray const &, MathArray const &); + static void create(MathAtom const &); /// - static MathAtom & provide(string const &); + static MathAtom & provide(string const & name); /// - static bool has(string const &); - /// - static void builtinMacros(); + static bool has(string const & name); /// static void dump(); private: - /// create internal macros (like \longrightarrow...) - static void define(string const & definition); - /// typedef std::map table_type; // static table_type macro_table; }; + #endif