X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscript-interface.hh;h=2aab348af5d325b58b1f504df9cb45e05b4c30e6;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=4f2defdb23f406d2b50f207e8c86e3a3d1153334;hpb=e24df7c27635dc996c466295eacf2981bddccaf7;p=lilypond.git diff --git a/lily/include/script-interface.hh b/lily/include/script-interface.hh index 4f2defdb23..2aab348af5 100644 --- a/lily/include/script-interface.hh +++ b/lily/include/script-interface.hh @@ -1,16 +1,16 @@ -/* - script-interface.hh -- +/* + script-interface.hh -- 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,12 +21,14 @@ class Script_interface { public: static Stencil get_stencil (Grob *, Direction d); - static bool has_interface (Grob *); - DECLARE_SCHEME_CALLBACK (print, (SCM )); - DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM)); + 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, bool *follow, Context *tg, +void make_script_from_event (Grob *p, Context *tg, SCM type, int index); #endif /* SCRIPT_INTERFACE_HH */