]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.32
authorfred <fred>
Sun, 24 Mar 2002 19:32:07 +0000 (19:32 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:32:07 +0000 (19:32 +0000)
src/lyricstaff.cc

index 279db7ff87b83a08161ed31354acf0adcff33fa4..6d199970c7a78dee39b8274472281507f9043bc9 100644 (file)
@@ -1,12 +1,10 @@
-#include "request.hh"
+#include "musicalrequest.hh"
 #include "voice.hh"
 #include "staffwalker.hh"
 #include "debug.hh"
 #include "staff.hh"
-#include "command.hh"
 #include "lyricstaff.hh"
 #include "lyriccolumn.hh"
-#include "sccol.hh" 
 #include "lyricwalker.hh"
 #include "pscore.hh"
 
@@ -16,9 +14,9 @@ Lyric_staff::Lyric_staff()
 }
 
 Staff_column*
-Lyric_staff::create_col(Score_column*s)
+Lyric_staff::create_col()
 {
-    return new Lyric_column(s,this);
+    return new Lyric_column(this);
 }
 
 void
@@ -29,11 +27,8 @@ Lyric_staff::set_output(PScore*pscore_l)
     pscore_l_->add(pstaff_l_);
 }
 
-void
-Lyric_staff::walk()
+Staff_walker*
+Lyric_staff::get_walker_p()
 {
-    for (Lyric_walker lcols(this); lcols.ok(); lcols++) {
-       lcols.lcol_l()->setup_requests();
-       lcols.process();
-    }
+    return new Lyric_walker(this);
 }