]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotable.h
split inset -> inset + updatableinset
[lyx.git] / src / mathed / math_macrotable.h
index 098a85c1480970a891d854ff75ad45cbb04b2257..efd3aabf137d7b3c1c0e60d502d48ee16bf0a6a1 100644 (file)
@@ -6,32 +6,24 @@
 #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, string const &);
-       ///
-       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 bool has(string const & name);
        ///
-       static void builtinMacros();
+       static void dump();
 private:
        ///
        typedef std::map<string, MathAtom> table_type;
        //
        static table_type macro_table;
-public:
-       ///
-       static void dump();
 };
+
 #endif