]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_exfuncinset.h
Fix reading of math macros
[lyx.git] / src / mathed / math_exfuncinset.h
index 08d4a94620d6b43947fbb35421b1b93c04e0d61b..232225fbac7ddf4f00b821e530109fdfc3e0dc4a 100644 (file)
@@ -2,6 +2,10 @@
 #ifndef MATH_EXFUNCINSET_H
 #define MATH_EXFUNCINSET_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include "math_nestinset.h"
 
 // f(x) in one block (as opposed to 'f','(','x',')' or 'f','x')
@@ -12,22 +16,26 @@ public:
        ///
        explicit MathExFuncInset(string const & name);
        ///
+       MathExFuncInset(string const & name, MathArray const & ar);
+       ///
        MathInset * clone() const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MathMetricsInfo & mi) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
-
+       void draw(MathPainterInfo & pi, int x, int y) const;
        ///
-       void normalize(NormalStream &) const;
+       string name() const;
+
        ///
        void maplize(MapleStream &) const;
        ///
+       void maximize(MaximaStream &) const;
+       ///
+       void mathematicize(MathematicaStream &) const;
+       ///
        void mathmlize(MathMLStream &) const;
        ///
        void octavize(OctaveStream &) const;
-       ///
-       void write(WriteStream & os) const;
 
 private:
        ///