]> git.donarmstrong.com Git - lilypond.git/blob - hdr/keyitem.hh
05a6cf79c2b26b8ed0f0e3198b7533e306dc5b0c
[lilypond.git] / hdr / keyitem.hh
1 /*
2   keyitem.hh -- part of LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef KEYITEM_HH
8 #define KEYITEM_HH
9
10 #include "item.hh"
11 #include "varray.hh"
12
13 /// 
14 struct Keyitem : Item {
15     Array<int> pitch;
16     Array<int> acc;
17     int c_position;
18
19     
20     /****************/
21     
22     Keyitem(int cposition);
23     void add(int pitch, int acc);
24     void read(Array<int> k);
25
26     void preprocess();
27
28     Molecule* brew_molecule_p()const;
29 };
30 /**
31   An item which places accidentals at the start of the line
32   */
33
34 #endif // KEYITEM_HH