]> git.donarmstrong.com Git - lilypond.git/blob - rhythmstaf.hh
8e362146e33d96ee5bf76c0840a7fe0a07f25962
[lilypond.git] / rhythmstaf.hh
1 /*
2   rhythmstaf.hh -- part of LilyPond
3
4   (c) 1996 Han-Wen Nienhuys
5 */
6
7 #ifndef RHYTHMSTAF_HH
8 #define RHYTHMSTAF_HH
9 #include "stcol.hh"
10
11 struct Rhythmic_staff;
12
13 /// column of Rhythmic_staff
14 struct Rhythmic_column : Staff_column {
15     // mega-stupido. only do notes, one at a time
16     Request *the_note;
17     Rhythmic_staff* staff_;
18
19     /****************/
20     
21     void typeset_req(Request *rq);
22     void take_request(Request *rq);
23     void typeset_command(Command *, int brs);
24     void process_commands( );
25     void process_requests();
26
27     Rhythmic_column(Score_column*s,Rhythmic_staff*rs);
28 };
29
30
31 /// simple percussion staff
32 struct Rhythmic_staff : Staff {
33     /// indirection to the PStaff.
34     PStaff *theline;
35     void set_output(PScore *);
36     void process_commands( PCursor<Command*> &where);
37
38     void grant_requests();
39     Staff_column * create_col(Score_column*);
40 };
41
42
43 #endif // RHYTHMSTAF_HH
44
45