]> git.donarmstrong.com Git - lilypond.git/blob - hdr/stcol.hh
b9e3a9bba8f0ab11aab231143160bca01d3e99c0
[lilypond.git] / hdr / stcol.hh
1 /*
2   stcol.hh -- part of LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef STCOL_HH
8 #define STCOL_HH
9 #include "proto.hh"
10 #include "varray.hh"
11 #include "moment.hh"
12
13 /// store simultaneous requests
14 struct Staff_column {
15
16     Score_column *score_column_l_;
17
18     /// fields to collect data vertically.
19     Array<Voice_element *> v_elts;
20
21     /// idem
22     Staff_commands_at *staff_commands_p_;
23
24     Time_description *tdescription_;
25     
26     /****************/
27     
28     Staff_column(Score_column*s); 
29     bool mus() const;
30     Moment when() const;
31     void add(Voice_element*ve);
32     void OK() const;
33     /****************************************************************
34       VIRTUAL
35     ****************************************************************/
36
37     virtual void process_requests()=0;
38
39     virtual ~Staff_column();
40 private:
41     Staff_column(Staff_column const&){}
42 };
43
44
45 #endif // STCOL_HH
46