]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/accidental-interface.hh
Run `make grand-replace'.
[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--2008 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 (height, (SCM));
23   DECLARE_SCHEME_CALLBACK (width, (SCM));
24   DECLARE_SCHEME_CALLBACK (pure_height, (SCM, SCM, SCM));
25   
26   DECLARE_GROB_INTERFACE();
27   static string get_fontcharname (string style, int alteration);
28   static vector<Box> accurate_boxes (Grob *me, Grob **common);
29   static SCM get_stencil (Grob *me);
30 };
31
32 #endif