]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/accidental-placement.hh
Merge branch 'master' of ssh+git://hanwen@git.sv.gnu.org/srv/git/lilypond
[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--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef ACCIDENTAL_PLACEMENT_HH
10 #define ACCIDENTAL_PLACEMENT_HH
11
12 #include "grob-interface.hh"
13 #include "grob.hh"
14
15 class Accidental_placement
16 {
17 public:
18   DECLARE_SCHEME_CALLBACK (alignment_callback, (SCM element));
19   static void add_accidental (Grob *, Grob *);
20
21   static Interval get_relevant_accidental_extent (Grob *me,
22                                                   Item *item_col,
23                                                   Grob *acc);
24   static void split_accidentals (Grob *accs,
25                                  vector<Grob*> *break_reminder,
26                                  vector<Grob*> *real_acc);
27
28   DECLARE_SCHEME_CALLBACK(calc_positioning_done, (SCM));
29   DECLARE_GROB_INTERFACE();
30 };
31 #endif /* ACCIDENTAL_PLACEMENT_HH */
32