]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MacroTable.h
Move <algorithm> from DocIterator.h
[lyx.git] / src / mathed / MacroTable.h
index eb613cae073c1987b272f62893324dab9fd1ccc3..e83be84b753b02945d3b687726a85784602b4ece 100644 (file)
@@ -26,7 +26,6 @@ namespace lyx {
 class Buffer;
 class MathData;
 class InsetMathMacroTemplate;
-class Paragraph;
 class latexkeys;
 
 enum MacroType {
@@ -39,7 +38,7 @@ enum MacroType {
 class MacroData {
 public:
        /// Constructor to make STL containers happy
-       MacroData(Buffer * buf = 0);
+       explicit MacroData(Buffer * buf = 0);
        /// Create lazy MacroData which only queries the macro template when needed
        MacroData(Buffer * buf, DocIterator const & pos);
        /// Create non-lazy MacroData which directly queries the macro template
@@ -60,10 +59,12 @@ public:
        ///
        std::vector<docstring> const & defaults() const;
        ///
-       std::string const requires() const;
+       std::string const required() const;
        ///
        bool hidden() const;
        ///
+       docstring const htmlname() const;
+       ///
        docstring const xmlname() const;
        ///
        char const * MathMLtype() const;