2 staff.hh -- declare Staff
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
16 /// base class for a collection of voices.
18 Staff(const Staff
&src
);
20 /// synchronous horizontal stuff
21 IPointerList
<Voice
*> voice_list_
;
22 Staff_column
*get_col(Moment
, PCursor
<Staff_column
*> * last
= 0);
27 IPointerList
<Staff_column
*> cols_
;
33 /* *************************************************************** */
35 void add(const PointerList
<Voice
*> &s
);
37 void add_voice(Voice
*v
);
38 Paper_def
*paper()const;
40 void setup_staffcols();
45 /// when does the last *musical* element finish?
48 // /// extract midi info
49 // Midi_track* midi_track_p();
51 /// remove unused cols
55 virtual void set_output(PScore
* destination
)=0;
56 virtual Staff_walker
*get_walker_p()=0;