]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MacroTable.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / MacroTable.h
index 5fa88cee2b2e43eb996126af9d803f8b4aabe3fc..57a0431dea2074bec81ef43d460bcb8b05d05f4b 100644 (file)
@@ -19,6 +19,7 @@
 #include "support/types.h"
 
 #include <map>
+#include <set>
 #include <vector>
 
 namespace lyx {
@@ -28,13 +29,14 @@ class MathData;
 class MathMacroTemplate;
 class Paragraph;
 
-
 enum MacroType {
        MacroTypeNewcommand,
        MacroTypeDef
 };
 
-
+///
+class MacroNameSet : public std::set<docstring> {};
+       
 ///
 class MacroData {
 public:
@@ -154,6 +156,8 @@ public:
        MacroData const * get(docstring const & name) const;
        ///
        void dump();
+       ///
+       void getMacroNames(std::set<docstring> & names) const;
 
        /// the global list
        static MacroTable & globalMacros();