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_column *get_col(Moment, PCursor<Staff_column*> * last= 0);
19 Staff(const Staff&src);
21 /// synchronous horizontal stuff
22 IPointerList<Voice*> voice_list_;
27 IPointerList<Staff_column*> cols;
32 /* *************************************************************** */
34 void add(const PointerList<Voice*> &s);
36 void add_voice(Voice *v);
37 Paperdef*paper()const;
39 void setup_staffcols();
44 /// when does the last *musical* element finish?
47 /// remove unused cols
51 virtual void set_output(PScore * destination)=0;
52 virtual Staff_walker *get_walker_p()=0;
55 virtual Staff_column * create_col()=0;