]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_unknowninset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_unknowninset.h
index 1e6c2d6822090d00631f8de408dee1f98c6d3478..d93cc83ea874bee804ce2594fd073dcd6e3dad61 100644 (file)
@@ -4,10 +4,6 @@
 
 #include "math_diminset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 /**
  Unknowntions or LaTeX names for objects that we really don't know
  */
@@ -17,11 +13,11 @@ public:
        explicit MathUnknownInset(string const & name,
                bool final = true, bool black = false);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       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 setName(string const & name);
        ///
@@ -36,13 +32,13 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
        ///
-       void mathematicize(MathematicaStream &) const;
+       void mathematica(MathematicaStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
        ///
-       void octavize(OctaveStream &) const;
+       void octave(OctaveStream &) const;
        ///
        void finalize();
        ///