lilypond-1.1.55
[lilypond.git] / hdr / key-item.hh
blobe56af8e682063f6760478f80499a45da9cd91a63
1 /*
2 key-item.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 NAME_MEMBERS(Key_item);
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