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);
25 Input_register * ireg_p_;
28 IPointerList<Staff_column*> cols_;
34 /* *************************************************************** */
36 void add(const PointerList<Voice*> &s);
38 void add_voice(Voice *v);
39 Paper_def*paper()const;
41 void setup_staffcols();
46 /// when does the last *musical* element finish?
49 // /// extract midi info
50 // Midi_track* midi_track_p();
52 /// remove unused cols
56 virtual void set_output(PScore * destination)=0;
57 virtual Staff_walker *get_walker_p()=0;