]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_exfuncinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_exfuncinset.h
index 3f434f69212c2b7c3ea0630f06984d2c60c90688..6422af0f7af502f77030417f8ec237aae502f25f 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,22 +13,29 @@ public:
        ///
        explicit MathExFuncInset(string const & name);
        ///
-       MathInset * clone() const;
+       MathExFuncInset(string const & name, MathArray const & ar);
+       ///
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void write(MathWriteInfo & os) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void draw(PainterInfo & pi, int x, int y) const;
+       ///
+       string name() const;
+
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void maple(MapleStream &) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void maxima(MaximaStream &) const;
        ///
-       string octavize() const;
+       void mathematica(MathematicaStream &) const;
+       ///
+       void mathmlize(MathMLStream &) const;
+       ///
+       void octave(OctaveStream &) const;
 
 private:
        ///
        string const name_;
-       ///
-       mutable MathMetricsInfo mi_;
 };
 #endif