]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_inferinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_inferinset.h
index fc8e8de5986fe24e05b25685ffec3acf0fd0e850..a3882c3e3f47f09881a1a55579cb88b2e3845fbc 100644 (file)
@@ -4,9 +4,6 @@
 
 #include "math_gridinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** for proof.sty's \infer
  *  \author AndrĂ© Poenitz
@@ -18,11 +15,11 @@ public:
        ///
        explicit MathInferInset();
        ///
-       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 write(WriteStream & os) const;