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