]> git.donarmstrong.com Git - lilypond.git/blob - hdr/localkeyitem.hh
release: 0.0.22
[lilypond.git] / hdr / localkeyitem.hh
1 /*
2   localkeyitem.hh -- part of LilyPond
3
4   (c) 1996 Han-Wen Nienhuys
5 */
6
7 #ifndef LOCALKEYITEM_HH
8 #define LOCALKEYITEM_HH
9 #include "item.hh"
10 #include "varray.hh"
11
12 struct Local_acc {
13     int name , acc, octave;
14     static int compare(Local_acc&, Local_acc&);
15 };
16
17 struct Local_key_item : Item {
18     Array<Local_acc> accs;
19     Array<Notehead*> group;
20     int c0_position;            // move into walker
21
22     /****************/
23     
24     Local_key_item(int c0position);
25     void add(int oct, int pitch, int acc, Notehead*);
26
27     void do_pre_processing();    
28     Molecule* brew_molecule()const;
29 };
30 #endif // LOCALKEYITEM_HH
31