]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/rest-collision.hh
f7a547a94b5e889f6c6c22c149f3a12f267943a2
[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--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef REST_COLLISION_HH
11 #define REST_COLLISION_HH
12
13 #include "lily-proto.hh"
14 #include "lily-guile.hh"
15 /*
16   properties:
17
18   elements -- list of elts (both rests and notes) participating in the
19     collision.
20
21 */
22
23 class Rest_collision            // interface
24 {
25 public:
26   static void add_column (Score_element*me,Score_element*);
27   static void set_interface (Score_element*me);
28   static bool has_interface (Score_element*);
29   static Real force_shift_callback (Score_element *, Axis);
30   static SCM do_shift (Score_element*,SCM);
31 };
32 #endif // REST_COLLISION_HH