2 simplewalker.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
7 #ifndef SIMPLEWALKER_HH
8 #define SIMPLEWALKER_HH
11 #include "grouping.hh"
14 struct Simple_walker
: Staff_walker
{
16 Array
<Notehead
*>noteheads
;
19 Array
<int> *oldkey_undo
;
20 Array
<int> typesetkey
;
22 Local_key_item
*local_key_item_
;
24 int processed_bar_priority
;
28 Rhythmic_grouping default_grouping
;
29 Rhythmic_grouping
*current_grouping
;
30 Array
<Slur_req
*> pending_slur_reqs
;
31 Array
<Slur
*> pending_slurs
;
35 virtual void do_TYPESET_command(Command
*);
36 virtual void do_INTERPRET_command(Command
*);
37 virtual void process_requests();
38 virtual void do_post_move();
40 Simple_walker(Simple_walker
const& c
);
41 void do_note(Note_info
);
42 Simple_walker(Simple_staff
*);
44 Simple_staff
*staff();
46 void do_local_key(Note_req
*, Notehead
*);
47 int find_slur(const Voice
*v
);
51 #endif // SIMPLEWALKER_HH