]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.h
Compile fix gcc 2.95 + stlport
[lyx.git] / src / mathed / math_macroarg.h
index acbf8fd90a1ea2b3aea23559635f36bd0cafc020..0c4e440dd60271dc1c2ecb56e14b803d5515326d 100644 (file)
@@ -1,30 +1,34 @@
 // -*- C++ -*-
+/**
+ * \file math_macroarg.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Alejandro Aguilar Sierra
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATHMACROARGUMENT_H
 #define MATHMACROARGUMENT_H
 
 #include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-/** A macro argument
- *  \author Alejandro Aguilar Sierra
- *
- * Full author contact details are available in file CREDITS
-*/
+/// A macro argument.
 class MathMacroArgument : public MathNestInset {
 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);