]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_diffinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_diffinset.h
index 707c710a0f26573f4916c53007734ae976635343..74e4bc11eeb3bea926cdb60a94c297431c2bfd59 100644 (file)
@@ -2,9 +2,6 @@
 #ifndef MATH_DIFFINSET_H
 #define MATH_DIFFINSET_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 // d f(x)/dx in one block
 // for interfacing external programs
@@ -16,20 +13,20 @@ public:
        ///
        explicit MathDiffInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void addDer(MathArray const & der);
        ///
-       void metrics(MathMetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(MathPainterInfo & pi, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const;
 
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
        ///
-       void mathematicize(MathematicaStream &) const;
+       void mathematica(MathematicaStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
        ///