]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_symbolinset.h
Fix reading of math macros
[lyx.git] / src / mathed / math_symbolinset.h
index 22b3f86901b5206d5c55859da33591d3aca9bef6..8f59fbcfe2f66b3194c445f21a251aa07a2dab08 100644 (file)
@@ -2,6 +2,10 @@
 #ifndef MATH_SYMBOLINSET_H
 #define MATH_SYMBOLINSET_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include "math_diminset.h"
 
 struct latexkeys;
@@ -34,17 +38,19 @@ public:
        /// the LaTeX name of the symbol (without the backslash)
        string name() const;
        ///
-       bool match(MathInset *) const;
+       bool match(MathAtom const &) const;
        /// request "external features"
        void validate(LaTeXFeatures & features) const;
-       /// identifies complicated things that need braces if used as arg
-       bool needsBraces() const { return false; }
 
        ///
        void normalize(NormalStream &) const;
        ///
        void maplize(MapleStream &) const;
        ///
+       void maximize(MaximaStream &) const;
+       ///
+       void mathematicize(MathematicaStream &) const;
+       ///
        void mathmlize(MathMLStream &) const;
        ///
        void octavize(OctaveStream &) const;