From b95dba1705c138ee450942e3a08104b166e28368 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 17 Feb 1997 20:29:49 +0000 Subject: [PATCH] lilypond-0.0.32 --- hdr/scorewalker.hh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 hdr/scorewalker.hh 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 -- 2.39.5