lilypond-1.1.31
[lilypond.git] / hdr / keyitem.hh
blob86dae4d9fceb9f166de947d7bbb7583bd24ed3f9
1 /*
2 keyitem.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef KEYITEM_HH
8 #define KEYITEM_HH
10 #include "item.hh"
11 #include "varray.hh"
14 /// An item which places accidentals at the start of the line
15 struct Key_item : Item {
16 Array<int> pitch;
17 Array<int> acc;
18 int c_position;
21 /* *************** */
22 const char * name() const;
23 Key_item(int cposition);
24 void add(int pitch, int acc);
25 void read(const Key_register&);
26 void set_c_position(int);
27 void preprocess();
28 Molecule* brew_molecule_p()const;
31 #endif // KEYITEM_HH