2 simplewalker.hh -- part of LilyPond
4 (c) 1996 Han-Wen Nienhuys
7 #ifndef SIMPLEWALKER_HH
8 #define SIMPLEWALKER_HH
11 #include "grouping.hh"
13 struct Simple_walker: Staff_walker {
15 Array<Notehead *>noteheads;
18 Array<int> *oldkey_undo;
19 Array<int> typesetkey;
21 Local_key_item *local_key_item_;
23 int processed_bar_priority;
27 Rhythmic_grouping default_grouping;
28 Rhythmic_grouping *current_grouping;
29 Array<Slur_req*> pending_slur_reqs;
30 Array<Slur*> pending_slurs;
34 virtual void do_TYPESET_command(Command*);
35 virtual void do_INTERPRET_command(Command*);
36 virtual void process_requests();
39 void do_note(Note_info);
40 Simple_walker(Simple_staff*);
42 Simple_staff *staff();
44 void do_local_key(Note_req*, Notehead*);
45 int find_slur(const Voice*v);
49 #endif // SIMPLEWALKER_HH