X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_biginset.h;h=df6899e234ff7fb78bf20c30a96b88a6055a2ab3;hb=b447408de232872fef1537fca542abc23702d572;hp=daf0078db07530716eb7a77300789f5f0a14b7ad;hpb=2b8ef58dc021912b2862328b9000cfe37578ea37;p=lyx.git diff --git a/src/mathed/math_biginset.h b/src/mathed/math_biginset.h index daf0078db0..df6899e234 100644 --- a/src/mathed/math_biginset.h +++ b/src/mathed/math_biginset.h @@ -1,30 +1,34 @@ // -*- C++ -*- +/** + * \file math_biginset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_BIGINSET_H #define MATH_BIGINSET_H #include "math_diminset.h" -#include "LString.h" -#ifdef __GNUG__ -#pragma interface -#endif - -/** Inset for \bigl & Co. - \author André Pönitz - */ +#include +/// Inset for \bigl & Co. class MathBigInset : public MathDimInset { public: /// - MathBigInset(string const & name, string const & delim); + MathBigInset(std::string const & name, std::string const & delim); /// - MathInset * clone() const; + virtual std::auto_ptr clone() const; /// - void draw(Painter &, int x, int y) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// - void write(WriteStream & os) const; + void draw(PainterInfo & pi, int x, int y) const; /// - void metrics(MathMetricsInfo const & st) const; + void write(WriteStream & os) const; /// void normalize(NormalStream & os) const; @@ -35,9 +39,9 @@ private: double increase() const; /// \bigl or what? - string const name_; + std::string const name_; /// ( or [ or Vert... - string const delim_; + std::string const delim_; }; #endif