X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscript-interface.hh;h=2032b88296d4b0599d5a1c45568b1c7d484708bc;hb=8cab78caa0db1ba14f2e52e4c1ddbb541ea0e5cb;hp=8d0e0355c01574310f95325f113160438592732c;hpb=75eebcb49e52d296b1da3e1074e0825d2c780db4;p=lilypond.git diff --git a/lily/include/script-interface.hh b/lily/include/script-interface.hh index 8d0e0355c0..2032b88296 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--2006 Han-Wen Nienhuys + (c) 1999--2009 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,11 @@ 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_positioning_done, (SCM)); + DECLARE_SCHEME_CALLBACK (calc_cross_staff, (SCM)); }; void make_script_from_event (Grob *p, Context *tg,