X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscript-interface.hh;h=12ba90a8fe5edbce261e4f172250c9a73824833a;hb=ce5cfa4a4b6e94655d12e3f1a1719bde789d2127;hp=ce6b97c44b4016c5aa462793aa51283504069457;hpb=545092a25d8ca41dc90b87482474b3719f7130a9;p=lilypond.git diff --git a/lily/include/script-interface.hh b/lily/include/script-interface.hh index ce6b97c44b..12ba90a8fe 100644 --- a/lily/include/script-interface.hh +++ b/lily/include/script-interface.hh @@ -3,14 +3,14 @@ source file of the GNU LilyPond music typesetter - (c) 1999--2005 Han-Wen Nienhuys + (c) 1999--2007 Han-Wen Nienhuys */ #ifndef SCRIPT_INTERFACE_HH #define SCRIPT_INTERFACE_HH -#include "lily-guile.hh" #include "lily-proto.hh" +#include "grob-interface.hh" /** Articulation marks (and the like) that are attached to notes/stems. @@ -21,9 +21,10 @@ class Script_interface { public: static Stencil get_stencil (Grob *, Direction d); - static bool has_interface (Grob *); + DECLARE_GROB_INTERFACE(); DECLARE_SCHEME_CALLBACK (print, (SCM)); DECLARE_SCHEME_CALLBACK (calc_direction, (SCM)); + DECLARE_SCHEME_CALLBACK (calc_cross_staff, (SCM)); }; void make_script_from_event (Grob *p, Context *tg,