]> git.donarmstrong.com Git - lilypond.git/blob - hdr/keyitem.hh
dca7d7213567e79a48f6605ec2bd23676ae8a0e0
[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 struct Clef;
14
15 /// 
16 struct Keyitem : Item {
17     Array<int> pitch;
18     Array<int> acc;
19     int c_position;
20
21     
22     /****************/
23     
24     Keyitem(int cposition);
25     void add(int pitch, int acc);
26     void read(Array<int> k);
27     void read(const Clef& c);
28
29     void preprocess();
30
31     Molecule* brew_molecule_p()const;
32 };
33 /**
34   An item which places accidentals at the start of the line
35   */
36
37 #endif // KEYITEM_HH