// -*- C++ -*-
+/**
+ * \file math_gridinset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
#ifndef MATH_GRID_H
#define MATH_GRID_H
#include "math_nestinset.h"
#include "vspace.h"
-#include "LString.h"
+#include "support/std_string.h"
/** Gridded math inset base class.
- This is the base to all grid-like editable math objects
- like array and eqnarray.
- * \author André Pönitz 2001
- *
- * Full author contact details are available in file CREDITS
-*/
-
+ * This is the base to all grid-like editable math objects
+ */
class MathGridInset : public MathNestInset {
public:
/// Ensures that the dialog is closed.
~MathGridInset();
///
- MathInset * clone() const;
+ virtual std::auto_ptr<InsetBase> clone() const;
+ ///
+ void metrics(MetricsInfo & mi) const;
///
- Dimension metrics(MetricsInfo & mi) const;
+ void metrics(MetricsInfo & mi, Dimension &) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///