2 accidental-placement.hh -- declare Accidental_placement
4 source file of the GNU LilyPond music typesetter
6 (c) 2002--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef ACCIDENTAL_PLACEMENT_HH
10 #define ACCIDENTAL_PLACEMENT_HH
12 #include "grob-interface.hh"
13 #include "lily-proto.hh"
15 class Accidental_placement
18 DECLARE_SCHEME_CALLBACK (alignment_callback, (SCM element));
19 static void add_accidental (Grob *, Grob *);
21 static vector<Grob*> get_relevant_accidentals (vector<Grob*> const &elts, Grob *left);
22 static void split_accidentals (Grob *accs,
23 vector<Grob*> *break_reminder,
24 vector<Grob*> *real_acc);
26 DECLARE_SCHEME_CALLBACK(calc_positioning_done, (SCM));
27 DECLARE_GROB_INTERFACE();
29 #endif /* ACCIDENTAL_PLACEMENT_HH */