]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/rest-collision.hh
07d80ab144bb9dea80afbf0af4428e7c7b89821e
[lilypond.git] / lily / include / rest-collision.hh
1 /*
2   rest-collision.hh -- declare Rest_collision
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef REST_COLLISION_HH
10 #define REST_COLLISION_HH
11
12 #include "grob-interface.hh"
13 #include "lily-proto.hh"
14
15 class Rest_collision
16 {
17 public:
18   static void add_column (Grob *me, Grob *);
19
20   DECLARE_GROB_INTERFACE();
21   DECLARE_SCHEME_CALLBACK (force_shift_callback, (SCM element));
22   DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM element));
23   DECLARE_SCHEME_CALLBACK (force_shift_callback_rest, (SCM element, SCM off));
24   static SCM do_shift (Grob *);
25 };
26 #endif // REST_COLLISION_HH