]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotable.h
preview as preview can...
[lyx.git] / src / mathed / math_macrotable.h
index 44f59c13576810346fca03c14855a52b861e7632..ab377190581e041ca6d1fa1f099721c6a36340d0 100644 (file)
@@ -16,22 +16,24 @@ class MathArray;
 struct MathMacroTable {
 public:
        ///
-       static void create(string const &, int, string const &);
+       static void create(string const &, int);
        ///
-       static void create(string const &, int, MathArray const &);
+       static void create(string const &, int, MathArray const &, MathArray const &);
        ///
        static MathAtom & provide(string const &);
        ///
        static bool has(string const &);
        ///
        static void builtinMacros();
+       ///
+       static void dump();
 private:
+       /// create internal macros (like \longrightarrow...)
+       static void define(string const & display);
+
        ///
        typedef std::map<string, MathAtom> table_type;
        //
        static table_type macro_table;
-public:
-       ///
-       static void dump();
 };
 #endif