X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathCases.h;h=41616b93e36464f05b09367718f19943c0f30288;hb=fc6ce7cd08562fd7bab4427880b46390bb7d2f07;hp=a34976358471c7045f0a14c4ae607e883ec4ecea;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathCases.h b/src/mathed/InsetMathCases.h index a349763584..41616b93e3 100644 --- a/src/mathed/InsetMathCases.h +++ b/src/mathed/InsetMathCases.h @@ -15,6 +15,9 @@ #include "InsetMathGrid.h" +namespace lyx { + + class LaTeXFeatures; class InsetMathCases : public InsetMathGrid { @@ -22,17 +25,17 @@ public: /// 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; /// @@ -42,7 +45,10 @@ public: /// void validate(LaTeXFeatures & features) const; private: - virtual std::auto_ptr doClone() const; + virtual std::auto_ptr doClone() const; }; + +} // namespace lyx + #endif