X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathLefteqn.h;h=0ad64af111b815ecae5ca6856798852370c829eb;hb=21c92c8a129b5f3ff56de33bf2941a25967cffbb;hp=076b0be940133210969e6867109616ad079c067e;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathLefteqn.h b/src/mathed/InsetMathLefteqn.h index 076b0be940..0ad64af111 100644 --- a/src/mathed/InsetMathLefteqn.h +++ b/src/mathed/InsetMathLefteqn.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,21 +15,30 @@ #include "InsetMathNest.h" +namespace lyx { + + /// Support for LaTeX's \\lefteqn command class InsetMathLefteqn : public InsetMathNest { public: /// - InsetMathLefteqn(); + explicit InsetMathLefteqn(Buffer * buf); /// - std::string name() const; + docstring name() const; /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; + /// + InsetCode lyxCode() const { return MATH_LEFTEQN_CODE; } + private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; }; + + +} // namespace lyx #endif