]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_unknowninset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_unknowninset.h
index d18ddb3fea46f2979ec9c69f9bc9b99905c4556d..d93cc83ea874bee804ce2594fd073dcd6e3dad61 100644 (file)
@@ -4,7 +4,6 @@
 
 #include "math_diminset.h"
 
-
 /**
  Unknowntions or LaTeX names for objects that we really don't know
  */
@@ -14,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);
        ///