X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_binominset.h;h=ee2703c8cda3f1cd16717b91caad7557b1946266;hb=1ecc7b79cdf95de50f2683fb7a8f983b5dcdf0d2;hp=d3fee9656322b6fa788169caf70bacd408242e84;hpb=bf2e2d58f3905625b65d51a6b258603e8071701c;p=lyx.git diff --git a/src/mathed/math_binominset.h b/src/mathed/math_binominset.h index d3fee96563..ee2703c8cd 100644 --- a/src/mathed/math_binominset.h +++ b/src/mathed/math_binominset.h @@ -1,30 +1,35 @@ // -*- C++ -*- +/** + * \file math_binominset.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_BINOMINSET_H -#define MATH_DINOMINSET_H +#define MATH_BINOMINSET_H #include "math_fracbase.h" -#ifdef __GNUG__ -#pragma interface -#endif -/** Binom like objects - * \author André Pönitz - */ +/// Binom like objects class MathBinomInset : public MathFracbaseInset { public: /// explicit MathBinomInset(bool choose = false); /// - MathInset * clone() const; + virtual std::auto_ptr clone() const; /// void write(WriteStream & os) const; /// void normalize(NormalStream &) 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; private: /// int dw() const;