X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathBrace.h;h=b28cd05e7db452d31d751bb7ef989ec636dc902b;hb=c9609fe56a2deb40f001503c2fd707c990a2e0e2;hp=d5c5205a43f2eabb67a2dd48466156b9f0ab28e8;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathBrace.h b/src/mathed/InsetMathBrace.h index d5c5205a43..b28cd05e7d 100644 --- a/src/mathed/InsetMathBrace.h +++ b/src/mathed/InsetMathBrace.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,14 +15,19 @@ #include "InsetMathNest.h" +namespace lyx { + + /// Extra nesting class InsetMathBrace : public InsetMathNest { public: /// - InsetMathBrace(); - /// - InsetMathBrace(MathArray const & ar); + InsetMathBrace(Buffer * buf); /// + InsetMathBrace(MathData const & ar); + /// identifies brace insets + InsetMathBrace * asBraceInset() { return this; } + /// identifies brace insets InsetMathBrace const * asBraceInset() const { return this; } /// we write extra braces in any case... bool extraBraces() const { return true; } @@ -41,11 +46,18 @@ public: /// void octave(OctaveStream &) const; /// - void mathmlize(MathMLStream &) const; + void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; + /// + InsetCode lyxCode() const { return MATH_BRACE_CODE; } private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; }; + +} // namespace lyx + #endif