/*
rest-collision.hh -- declare Rest_collision
- source file of the LilyPond music typesetter
+ source file of the GNU LilyPond music typesetter
- (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "item.hh"
class Rest_collision : public Item {
- Array<Rest_column *> rest_l_arr_;
- Array<Note_column *> ncol_l_arr_;
+ Link_array<Note_column> rest_l_arr_;
+ Link_array<Note_column> ncol_l_arr_;
public:
- void add(Rest_column*);
- void add(Collision*);
- NAME_MEMBERS(Rest_collision);
+ void add_column (Note_column*);
+
+ Rest_collision();
protected:
virtual void do_post_processing();
+ virtual void do_pre_processing();
+ virtual void do_print() const;
+ virtual void do_substitute_dependency (Score_element*,Score_element*);
};
#endif // REST_COLLISION_HH