X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Frest-collision.hh;h=ce3765e65525af9bb1049249b8383a48d3a8479d;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=7171c0ceb6e04c6a18e81da25e9b61214af7a19e;hpb=e24df7c27635dc996c466295eacf2981bddccaf7;p=lilypond.git diff --git a/lily/include/rest-collision.hh b/lily/include/rest-collision.hh index 7171c0ceb6..ce3765e655 100644 --- a/lily/include/rest-collision.hh +++ b/lily/include/rest-collision.hh @@ -3,26 +3,24 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ - #ifndef REST_COLLISION_HH #define REST_COLLISION_HH +#include "grob-interface.hh" #include "lily-proto.hh" -#include "lily-guile.hh" - - - class Rest_collision { public: - static void add_column (Grob*me,Grob*); - - static bool has_interface (Grob*); - DECLARE_SCHEME_CALLBACK (force_shift_callback, (SCM element, SCM axis)); - static SCM do_shift (Grob*); + static void add_column (Grob *me, Grob *); + + DECLARE_GROB_INTERFACE(); + 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