X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathAtom.h;h=b11d75da182b3da122fae03dfbee869d0411773f;hb=89342f2946abd5d01b019a729d1f160b0c9d3d50;hp=757a9d33b986a3856d5ac376df7505f7786fe530;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/MathAtom.h b/src/mathed/MathAtom.h index 757a9d33b9..b11d75da18 100644 --- a/src/mathed/MathAtom.h +++ b/src/mathed/MathAtom.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. */ @@ -40,16 +40,18 @@ Andre' */ -class InsetBase; +namespace lyx { + +class Inset; class InsetMath; class MathAtom { public: /// default constructor, object is useless, but we need it to put it into - // std::containers + /// std::containers MathAtom(); /// the "real constructor" - explicit MathAtom(InsetBase * p); + explicit MathAtom(InsetMath * p); /// copy constructor, invokes nucleus_->clone() MathAtom(MathAtom const &); /// we really need to clean up @@ -62,12 +64,12 @@ public: /// access to the inset InsetMath const * operator->() const { return nucleus_; } - /// width cache. Not nice... - //mutable int width_; - private: /// InsetMath * nucleus_; }; + +} // namespace lyx + #endif