]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotable.h
updates to latexfeatures stuff; allow empty \document_path
[lyx.git] / src / mathed / math_macrotable.h
index 68ea0494768daf60560abc0fd50102ab26251de6..44f59c13576810346fca03c14855a52b861e7632 100644 (file)
@@ -4,35 +4,30 @@
 
 #include <map>
 #include "LString.h"
+#include "math_atom.h"
 
 #ifdef __GNUG__
 #pragma interface
 #endif
 
-
-class MathMacro;
-class MathMacroTemplate;
+class MathArray;
 
 ///
 struct MathMacroTable {
 public:
        ///
-       static void updateTemplate(MathMacroTemplate *);
-       ///
-       static void insertTemplate(MathMacroTemplate *);
+       static void create(string const &, int, string const &);
        ///
-       static MathMacroTemplate & provideTemplate(string const &);
+       static void create(string const &, int, MathArray const &);
        ///
-       static bool hasTemplate(string const &);
+       static MathAtom & provide(string const &);
        ///
-       static MathMacro * cloneTemplate(string const &);
-       ///
-       static void createTemplate(string const &, int, string const &);
-private:
+       static bool has(string const &);
        ///
        static void builtinMacros();
+private:
        ///
-       typedef std::map<string, MathMacroTemplate *> table_type;
+       typedef std::map<string, MathAtom> table_type;
        //
        static table_type macro_table;
 public: