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 svec<Notehead *>noteheads;
18 svec<int> *oldkey_undo;
21 Local_key_item *local_key_item_;
26 Rhythmic_grouping default_grouping;
27 Rhythmic_grouping *current_grouping;
30 svec<Slur_req*> pending_slur_reqs;
31 svec<Slur*> pending_slurs;
37 virtual void do_TYPESET_command(Command*);
38 virtual void do_INTERPRET_command(Command*);
39 virtual void process_requests();
42 void do_note(Rhythmic_req*);
43 Simple_walker(Simple_staff*);
45 Simple_staff *staff();
47 void do_local_key(Note_req*n);
48 int find_slur(const Voice*v);
52 #endif // SIMPLEWALKER_HH