]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/accidental-placement.hh
4922bac1efdef87bfe729ead832b38d254d6df26
[lilypond.git] / lily / include / accidental-placement.hh
1 /*
2   accidental-placement.hh -- declare  Accidental_placement
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2002--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef ACCIDENTAL_PLACEMENT_HH
10 #define ACCIDENTAL_PLACEMENT_HH
11
12 #include "grob.hh"
13
14 class Accidental_placement
15 {
16 public:
17   DECLARE_SCHEME_CALLBACK (alignment_callback, (SCM element));
18   static void add_accidental (Grob *, Grob *);
19
20   static Interval get_relevant_accidental_extent (Grob *me,
21                                                   Item *item_col,
22                                                   Grob *acc);
23   static void split_accidentals (Grob *accs,
24                                  Link_array<Grob> *break_reminder,
25                                  Link_array<Grob> *real_acc);
26
27   DECLARE_SCHEME_CALLBACK(calc_positioning_done, (SCM));
28   static bool has_interface (Grob *);
29 };
30 #endif /* ACCIDENTAL_PLACEMENT_HH */
31