X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Faccidental-interface.hh;h=440740b407f1bf152ecc50c55726a46cdfec7ed7;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=21b731ea7b365b0dc6997a0f067ab6c62381d5dd;hpb=75eebcb49e52d296b1da3e1074e0825d2c780db4;p=lilypond.git diff --git a/lily/include/accidental-interface.hh b/lily/include/accidental-interface.hh index 21b731ea7b..440740b407 100644 --- a/lily/include/accidental-interface.hh +++ b/lily/include/accidental-interface.hh @@ -3,26 +3,30 @@ source file of the GNU LilyPond music typesetter - (c) 2002--2006 Han-Wen Nienhuys + (c) 2002--2008 Han-Wen Nienhuys */ #ifndef ACCIDENTAL_INTERFACE_HH #define ACCIDENTAL_INTERFACE_HH +#include "std-vector.hh" + #include "box.hh" -#include "lily-guile.hh" #include "lily-proto.hh" +#include "grob-interface.hh" class Accidental_interface { public: DECLARE_SCHEME_CALLBACK (print, (SCM)); - DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM)); + DECLARE_SCHEME_CALLBACK (height, (SCM)); + DECLARE_SCHEME_CALLBACK (width, (SCM)); + DECLARE_SCHEME_CALLBACK (pure_height, (SCM, SCM, SCM)); - static bool has_interface (Grob *); - static String get_fontcharname (String style, int alteration); - static Array Accidental_interface::accurate_boxes (Grob *me, - Grob **common); + DECLARE_GROB_INTERFACE(); + static string get_fontcharname (string style, int alteration); + static vector accurate_boxes (Grob *me, Grob **common); + static SCM get_stencil (Grob *me); }; #endif