X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Faccidental-interface.hh;h=93951236cfb361f8e15962ebb7bfe0ea3c2df1f0;hb=95e5705d0697eac20246352d416f14b6d92485f5;hp=835762d320a6921b0d40355198f9da0cdd7652b9;hpb=58bcc84c9480dae1b21bc24d8396b91fe19e0131;p=lilypond.git diff --git a/lily/include/accidental-interface.hh b/lily/include/accidental-interface.hh index 835762d320..93951236cf 100644 --- a/lily/include/accidental-interface.hh +++ b/lily/include/accidental-interface.hh @@ -3,25 +3,30 @@ source file of the GNU LilyPond music typesetter - (c) 2002--2005 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)); - static bool has_interface (Grob *); - - static String get_fontcharname (String style, int alteration); - static Array Accidental_interface::accurate_boxes (Grob *me, Grob **common); + DECLARE_SCHEME_CALLBACK (height, (SCM)); + DECLARE_SCHEME_CALLBACK (width, (SCM)); + DECLARE_SCHEME_CALLBACK (pure_height, (SCM, SCM, SCM)); + + 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