]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_exintinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_exintinset.h
index 3767aaaeb593624dd85d05c8560ad1f3365a7ba3..3a226d8fd82b20920f0a044cedab2494120758ef 100644 (file)
@@ -2,10 +2,11 @@
 #ifndef MATH_EXINTINSET_H
 #define MATH_EXINTINSET_H
 
+
 // \int_l^u f(x) dx in one block (as opposed to 'f','(','x',')' or 'f','x')
 // or \sum, \prod...  for interfacing external programs
 
-#include "math_scriptinset.h"
+#include "math_nestinset.h"
 
 // cell(0) is stuff before the 'd', cell(1) the stuff after
 class MathExIntInset : public MathNestInset {
@@ -13,22 +14,22 @@ public:
        ///
        explicit MathExIntInset(string const & name_);
        ///
-       MathInset * clone() const;
-       ///
-       void scripts(MathAtom const &);
-       ///
-       MathAtom & scripts();
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void symbol(string const &);
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
 
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maxima(MaximaStream &) const;
+       ///
+       void maple(MapleStream &) const;
+       ///
+       void mathematica(MathematicaStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
        ///
@@ -39,8 +40,6 @@ private:
 
        ///
        string symbol_;
-       ///
-       MathAtom scripts_;
 };
 
 #endif