X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathCases.h;h=f753f12166646e0a63c6eb40e02a0bddee47c837;hb=704328d3488c75733ddeb9ad5439b1907e323e39;hp=a34976358471c7045f0a14c4ae607e883ec4ecea;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathCases.h b/src/mathed/InsetMathCases.h index a349763584..f753f12166 100644 --- a/src/mathed/InsetMathCases.h +++ b/src/mathed/InsetMathCases.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -15,34 +15,48 @@ #include "InsetMathGrid.h" +namespace lyx { + + class LaTeXFeatures; class InsetMathCases : public InsetMathGrid { public: /// - explicit InsetMathCases(row_type rows = 1u); + explicit InsetMathCases(Buffer * buf, row_type rows = 1u); /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// + Dimension const dimension(BufferView const &) 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 maple(MapleStream &) const; /// + void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; + /// void write(WriteStream & os) const; /// void validate(LaTeXFeatures & features) const; + /// + InsetCode lyxCode() const { return MATH_CASES_CODE; } private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; }; + +} // namespace lyx + #endif