From: fred Date: Mon, 17 Feb 1997 20:29:49 +0000 (+0000) Subject: lilypond-0.0.32 X-Git-Tag: release/1.5.59~6329 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b95dba1705c138ee450942e3a08104b166e28368;p=lilypond.git lilypond-0.0.32 --- diff --git a/hdr/scorewalker.hh b/hdr/scorewalker.hh new file mode 100644 index 0000000000..0bfc991374 --- /dev/null +++ b/hdr/scorewalker.hh @@ -0,0 +1,36 @@ +/* + scorewalker.hh -- declare Score_walker + + source file of the LilyPond music typesetter + + (c) 1997 Han-Wen Nienhuys +*/ + + +#ifndef SCOREWALKER_HH +#define SCOREWALKER_HH +#include "pcursor.hh" +#include "proto.hh" +#include "varray.hh" + + +/** + walk through the score_columns, and while doing so, walk all staffs in a score. + */ +class Score_walker : public PCursor +{ + /// walkers for the individual staves. + Array walker_p_arr_; + Array disallow_break_walk_l_arr; + int disallow_break_count_; + void reinit(); +public: + void allow_break(Staff_walker*w); + Score_walker(Score*); + ~Score_walker(); + Moment when(); + void operator++(int); + /// process staff walkers. + void process(); +}; +#endif // SCOREWALKER_HH