X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_deliminset.h;h=84a3ac14512f335c30d27bacf0c212aac351f103;hb=92d522b7f1be6046adcac062c558bbf0bf021612;hp=2f8b7047cb6a067b4a7aa12ec23303cd23a76d46;hpb=fe87869cb763c613c4dc36294efbd8edff175d54;p=lyx.git diff --git a/src/mathed/math_deliminset.h b/src/mathed/math_deliminset.h index 2f8b7047cb..84a3ac1451 100644 --- a/src/mathed/math_deliminset.h +++ b/src/mathed/math_deliminset.h @@ -5,12 +5,11 @@ #include "math_nestinset.h" #include "LString.h" -#ifdef __GNUG__ -#pragma interface -#endif /** A delimiter - \author Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * + * Full author contact details are available in file CREDITS */ class MathDelimInset : public MathNestInset { @@ -18,7 +17,9 @@ public: /// MathDelimInset(string const & left, string const & right); /// - MathInset * clone() const; + MathDelimInset(string const & left, string const & right, MathArray const &); + /// + InsetBase * clone() const; /// MathDelimInset * asDelimInset() { return this; } /// @@ -30,26 +31,30 @@ public: /// is it |...|? bool isAbs() const; /// - void metrics(MathMetricsInfo & st) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// - void draw(MathPainterInfo &, int x, int y) const; + void draw(PainterInfo &, int x, int y) const; /// void write(WriteStream & os) const; /// write normalized content void normalize(NormalStream &) const; /// - void maplize(MapleStream &) const; + void maple(MapleStream &) const; + /// + void maxima(MaximaStream &) const; + /// + void mathematica(MathematicaStream &) const; /// void mathmlize(MathMLStream &) const; /// - void octavize(OctaveStream &) const; + void octave(OctaveStream &) const; /// string left_; /// string right_; private: /// - int dw() const; + mutable int dw_; }; #endif