X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Faccidental-interface.hh;h=93951236cfb361f8e15962ebb7bfe0ea3c2df1f0;hb=5cbc1cb630693b9a2493765e5629e06607f544d3;hp=5f28885f6e10ba22de6d2f11d45098278945c067;hpb=3b7eb398f096a9291de36d7f8716c3cf43614a7f;p=lilypond.git diff --git a/lily/include/accidental-interface.hh b/lily/include/accidental-interface.hh index 5f28885f6e..93951236cf 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--2007 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 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