]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_exfuncinset.h
split inset -> inset + updatableinset
[lyx.git] / src / mathed / math_exfuncinset.h
index a0887a39c33e47c31f16db3ef34152ac7c991e81..1e0b04d9c66b5ae5b4e9171d97dc115583cdc89a 100644 (file)
@@ -2,6 +2,7 @@
 #ifndef MATH_EXFUNCINSET_H
 #define MATH_EXFUNCINSET_H
 
+
 #include "math_nestinset.h"
 
 // f(x) in one block (as opposed to 'f','(','x',')' or 'f','x')
@@ -12,27 +13,29 @@ public:
        ///
        explicit MathExFuncInset(string const & name);
        ///
+       MathExFuncInset(string const & name, MathArray const & ar);
+       ///
        MathInset * clone() const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo & mi) const;
+       ///
+       void draw(MathPainterInfo & pi, int x, int y) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       string name() const;
 
        ///
-       void normalize(NormalStream &) const;
+       void maple(MapleStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maxima(MaximaStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathematica(MathematicaStream &) const;
        ///
-       void octavize(OctaveStream &) const;
+       void mathmlize(MathMLStream &) const;
        ///
-       void write(WriteStream & os) const;
+       void octave(OctaveStream &) const;
 
 private:
        ///
        string const name_;
-       ///
-       mutable MathMetricsInfo mi_;
 };
 #endif