]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/key-item.hh
706f65530fd915a26d922493c9bd5473b44ecc83
[lilypond.git] / lily / include / key-item.hh
1 /*
2   key-item.hh -- part of GNU LilyPond
3
4   (c) 1996--2000 Han-Wen Nienhuys
5 */
6
7 #ifndef KEYITEM_HH
8 #define KEYITEM_HH
9
10 #include "lily-guile.hh"
11 #include "lily-proto.hh"
12
13 /**
14   A group of  accidentals.
15
16   Properties:
17
18   c0-position -- integer indicating the position of central C?
19
20   old-accidentals -- list of (pitch, accidental) pairs
21
22   new-accidentals -- list of (pitch, accidental) pairs
23  */
24 struct Key_item
25 {
26   static int calculate_position(Score_element*,SCM pair) ;
27   static void set_interface (Score_element*);
28   static bool has_interface (Score_element*);
29   DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM ));
30 };
31
32 #endif // KEYITEM_HH