lilypond-1.1.31
[lilypond.git] / hdr / localkeyitem.hh
blobe9640023d4560395dd690b7b7e33db8c91fa3343
1 /*
2 localkeyitem.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef LOCALKEYITEM_HH
8 #define LOCALKEYITEM_HH
9 #include "item.hh"
10 #include "varray.hh"
12 struct Local_acc {
13 int name , acc, octave;
14 static int compare(Local_acc&, Local_acc&);
17 struct Local_key_item : Item {
18 const char * name() const;
19 Array<Local_acc> accs;
20 Array<Item*> support_items_;
21 int c0_position;
23 /* *************** */
25 Local_key_item(int c0position);
26 void add(Item*);
27 void add(int oct, int pitch, int acc);
28 void add(Melodic_req*);
29 void do_pre_processing();
30 Molecule* brew_molecule_p()const;
32 #endif // LOCALKEYITEM_HH