]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_macroarg.h
index acbf8fd90a1ea2b3aea23559635f36bd0cafc020..8f2214234433ec67d22ca0668ae807311f74085e 100644 (file)
@@ -4,9 +4,6 @@
 
 #include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** A macro argument
  *  \author Alejandro Aguilar Sierra
@@ -18,13 +15,13 @@ public:
        ///
        explicit MathMacroArgument(int);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        bool isActive() const { return false; }
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
        ///
        void substitute(MathMacro const & macro);