]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/accidental-interface.hh
534ac706b558972b22ff6bf644a4250f6e9f38fe
[lilypond.git] / lily / include / accidental-interface.hh
1 /*
2   accidental-interface.hh -- declare  Accidental_interface
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_INTERFACE_HH
10 #define ACCIDENTAL_INTERFACE_HH
11
12 #include "std-vector.hh"
13
14 #include "box.hh"
15 #include "lily-proto.hh"
16 #include "grob-interface.hh"
17
18 class Accidental_interface
19 {
20 public:
21   DECLARE_SCHEME_CALLBACK (print, (SCM));
22   DECLARE_SCHEME_CALLBACK (calc_stencils, (SCM));
23   DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM));
24   DECLARE_SCHEME_CALLBACK (height, (SCM));
25   DECLARE_SCHEME_CALLBACK (pure_height, (SCM, SCM, SCM));
26   
27   DECLARE_GROB_INTERFACE();
28   static string get_fontcharname (string style, int alteration);
29   static vector<Box> accurate_boxes (Grob *me,
30                                                           Grob **common);
31 };
32
33 #endif