]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/accidental-placement.hh
99281a5b14b1dbbe2d0a415b05f892e21c368663
[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--2007 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 "lily-proto.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 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);
25
26   DECLARE_SCHEME_CALLBACK(calc_positioning_done, (SCM));
27   DECLARE_GROB_INTERFACE();
28 };
29 #endif /* ACCIDENTAL_PLACEMENT_HH */
30