]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rest-collision.hh
patch::: 1.1.19.jcn5: isb
[lilypond.git] / lily / include / rest-collision.hh
index 31a1c8504ba7401b2ed0d4747571250b997a47d4..cfb1518093eefd2837e4136d8ed1f700da67d3a3 100644 (file)
@@ -1,9 +1,9 @@
 /*
   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