X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbox.hh;h=d4a8655a429b0cf965364132871cf2b7f9c3b054;hb=3f196c939480dbb2b82c4aeb5692c90c0677e67d;hp=b0f899431188bf4d653ac448afbb6e074efdd6fa;hpb=0b9c108e213a6caeb4b40e1306b18700ae608fd4;p=lilypond.git diff --git a/lily/include/box.hh b/lily/include/box.hh index b0f8994311..d4a8655a42 100644 --- a/lily/include/box.hh +++ b/lily/include/box.hh @@ -9,10 +9,12 @@ #include "offset.hh" #include "smobs.hh" -class Box +class Box : public Simple_smob { +public: + static const char * const type_p_name_; +private: Interval interval_a_[NO_AXES]; - DECLARE_SIMPLE_SMOBS (Box); public: Interval &x () {return interval_a_[X_AXIS]; } Interval &y () { return interval_a_[Y_AXIS]; } @@ -40,6 +42,5 @@ public: Box (Interval ix, Interval iy); }; -DECLARE_UNSMOB (Box, box); #endif