*/
-class InsetBase;
+namespace lyx {
+
+class Inset;
class InsetMath;
class MathAtom {
// std::containers
MathAtom();
/// the "real constructor"
- explicit MathAtom(InsetBase * p);
+ explicit MathAtom(Inset * p);
/// copy constructor, invokes nucleus_->clone()
MathAtom(MathAtom const &);
/// we really need to clean up
/// access to the inset
InsetMath const * operator->() const { return nucleus_; }
- /// width cache. Not nice...
- //mutable int width_;
-
private:
///
InsetMath * nucleus_;
};
+
+} // namespace lyx
+
#endif