X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscript-interface.hh;h=2aab348af5d325b58b1f504df9cb45e05b4c30e6;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=ce6b97c44b4016c5aa462793aa51283504069457;hpb=545092a25d8ca41dc90b87482474b3719f7130a9;p=lilypond.git diff --git a/lily/include/script-interface.hh b/lily/include/script-interface.hh index ce6b97c44b..2aab348af5 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--2008 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,