]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/request-column.hh
release: 0.0.64
[lilypond.git] / lily / include / request-column.hh
1 /*
2   request-column.hh -- declare Request_column
3
4   source file of the LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef REQUEST_COLUMN_HH
11 #define REQUEST_COLUMN_HH
12 #include "plist.hh"
13 #include "lily-proto.hh"
14 #include "moment.hh"
15 #include "varray.hh"
16 /**
17   Like staff_column, but Score wide. One per when().
18  */
19 class Request_column 
20 {
21     Pointer_list<Staff_column*> staff_cols_;
22     Array<Staff_column*> staff_col_l_arr_;
23     Moment when_;
24     
25 public:
26     Score_column *musical_column_l_, *command_column_l_;
27     Request_column(Link_list<Staff*> const& );
28     bool used_b()const;
29     Moment when();
30     void add_reqs(int staff_idx, Array<Request*> const&);
31     void update_time(int staff_idx, Time_description &);
32     void set_score_cols(Score_column*, Score_column*);
33 };
34
35 #endif // REQUEST_COLUMN_HH