]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/collision.hh
3891a5a0c16c0943e3897ccd540a306f96fecb9a
[lilypond.git] / lily / include / collision.hh
1 /*
2   collision.hh -- declare Collision
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef COLLISION_HH
11 #define COLLISION_HH
12 #include "lily-proto.hh"
13 #include "item.hh"
14
15 /** TODO 
16
17   multistaff support (see Chlapik: equal noteheads should be on the
18   same hpos.)  
19 */
20 class Collision : public Item {
21 protected:
22     virtual void do_substitute_dependency(Score_elem*,Score_elem*);
23     virtual void do_pre_processing();
24 public:
25     Link_array<Note_column> clash_l_arr_;
26     DECLARE_MY_RUNTIME_TYPEINFO;
27     void add (Note_column*ncol_l);
28     Collision();
29     
30 };
31 #endif // COLLISION_HH