]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/rest-collision-engraver.cc
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / lily / rest-collision-engraver.cc
index 2d2b6df053b7119301b9b7a2b8bf744ae4f9d2f5..d0704a10b50c28a04b57da7dcbd5908a86b4a169 100644 (file)
@@ -3,19 +3,20 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "warn.hh"
 #include "engraver.hh"
 #include "rest-collision.hh"
 #include "note-column.hh"
+#include "item.hh"
 
 class Rest_collision_engraver : public Engraver
 {
   Item *rest_collision_;
-  int rest_count_;
-  Link_array<Grob> note_columns_;
+  vsize rest_count_;
+  vector<Grob*> note_columns_;
 protected:
   DECLARE_ACKNOWLEDGER (note_column);
   void process_acknowledged ();
@@ -68,6 +69,5 @@ ADD_ACKNOWLEDGER (Rest_collision_engraver, note_column);
 ADD_TRANSLATOR (Rest_collision_engraver,
                /* doc */ "Handles collisions of rests.",
                /* create */ "RestCollision",
-               /* accept */ "",
                /* read */ "",
                /* write */ "");