X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathPar.h;h=0a178f439642951f2c6a46bde0a247f286c27b2c;hb=5fdc577badb1cb133d6a0dc7d831bb1f82576adb;hp=4fc791d7e746c7da02fb99d33c469919793aef65;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathPar.h b/src/mathed/InsetMathPar.h index 4fc791d7e7..0a178f4396 100644 --- a/src/mathed/InsetMathPar.h +++ b/src/mathed/InsetMathPar.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,12 +15,15 @@ #include "InsetMathHull.h" + +namespace lyx { + class InsetMathPar : public InsetMathHull { public: /// - InsetMathPar() {} + InsetMathPar(Buffer * buf) : InsetMathHull(buf) {} /// - InsetMathPar(MathArray const & ar); + InsetMathPar(Buffer * buf, MathData const & ar); /// mode_type currentMode() const { return TEXT_MODE; } /// @@ -28,12 +31,18 @@ public: /// void draw(PainterInfo &, int x, int y) const; /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; /// void write(WriteStream & os) const; + /// + InsetCode lyxCode() const { return MATH_PAR_CODE; } + private: /// - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; }; + + +} // namespace lyx #endif