]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.h
fix #1073
[lyx.git] / src / mathed / math_macroarg.h
index b2bcbade9718ab6001f68391bf470dfb19c9ca45..d6bb6f919d13e5742f6fae590c66c0819ec774fd 100644 (file)
@@ -4,25 +4,24 @@
 
 #include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** A macro argument
-    \author Alejandro Aguilar Sierra
+ *  \author Alejandro Aguilar Sierra
+ *
+ * Full author contact details are available in file CREDITS
 */
 class MathMacroArgument : public MathNestInset {
 public:
        ///
-       explicit MathMacroArgument(int, MathTextCodes = LM_TC_MIN);
+       explicit MathMacroArgument(int);
        ///
        MathInset * clone() const;
        ///
        bool isActive() const { return false; }
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MetricsInfo & st) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
        ///
        void substitute(MathMacro const & macro);
 
@@ -38,10 +37,6 @@ private:
        char str_[3];
        ///
        bool expanded_;
-       ///
-       mutable MathMetricsInfo mi_;
-       ///
-       MathTextCodes code_;
 };
 
 #endif