X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscript-interface.hh;h=6acbadc35b4339502e7255f6cf768fba738a62c4;hb=d8082113a0df616e7beabc0417c3590a3fac7320;hp=8591ce0b475f257ab073182865dde2318dfc48ab;hpb=b0720e5b9114fc250f752b10661a63e5437a40ae;p=lilypond.git diff --git a/lily/include/script-interface.hh b/lily/include/script-interface.hh index 8591ce0b47..6acbadc35b 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--2006 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,12 +21,12 @@ 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)); }; -void make_script_from_event (Grob *p, bool *follow, Context *tg, +void make_script_from_event (Grob *p, Context *tg, SCM type, int index); #endif /* SCRIPT_INTERFACE_HH */