#include "InsetMathGrid.h"
+namespace lyx {
+
+
class LaTeXFeatures;
class InsetMathCases : public InsetMathGrid {
///
explicit InsetMathCases(row_type rows = 1u);
///
- void metrics(MetricsInfo & mi, Dimension & dim) const;
+ bool metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
- virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+ virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
///
- bool getStatus(LCursor & cur, FuncRequest const & cmd,
+ bool getStatus(Cursor & cur, FuncRequest const & cmd,
FuncStatus & flag) const;
///
- void infoize(std::ostream & os) const;
+ void infoize(odocstream & os) const;
///
void normalize(NormalStream &) const;
///
///
void validate(LaTeXFeatures & features) const;
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual std::auto_ptr<Inset> doClone() const;
};
+
+} // namespace lyx
+
#endif