X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Frest-collision.hh;h=fe76e1b15c8d4c5d8d44d6967eac1e78f42a1a7c;hb=6f664e0e318a1651f6fe9317a842bf9c7f476f08;hp=10b8ac01c17aef4f625e4cfd733e602539550b5e;hpb=9d03b3529816551ef7beea0f5cdc87d315cb0948;p=lilypond.git diff --git a/lily/include/rest-collision.hh b/lily/include/rest-collision.hh index 10b8ac01c1..fe76e1b15c 100644 --- a/lily/include/rest-collision.hh +++ b/lily/include/rest-collision.hh @@ -3,24 +3,24 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2000 Han-Wen Nienhuys + (c) 1997--2006 Han-Wen Nienhuys */ - #ifndef REST_COLLISION_HH #define REST_COLLISION_HH #include "lily-proto.hh" -#include "item.hh" +#include "lily-guile.hh" -class Rest_collision : public Item { +class Rest_collision +{ public: - void add_column (Note_column*); - Interval rest_dim () const; - - Rest_collision(SCM); + static void add_column (Grob *me, Grob *); - SCM member_after_line_breaking (); - static SCM after_line_breaking (SCM); + static bool has_interface (Grob *); + DECLARE_SCHEME_CALLBACK (force_shift_callback, (SCM element)); + DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM element)); + DECLARE_SCHEME_CALLBACK (force_shift_callback_rest, (SCM element, SCM off)); + static SCM do_shift (Grob *); }; #endif // REST_COLLISION_HH