X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscript.hh;h=6a741548c6ddf6d3687f94a1f3bec40fdb2f3d3e;hb=829caefcc215ddffe25806d0ff87bcc577c3286e;hp=d2d10b8f7912be079cf71f3b9f2e959763fd11a9;hpb=d9b43b93f2c885409bafdb157138158f65cc49aa;p=lilypond.git diff --git a/lily/include/script.hh b/lily/include/script.hh index d2d10b8f79..6a741548c6 100644 --- a/lily/include/script.hh +++ b/lily/include/script.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1999--2002 Han-Wen Nienhuys + (c) 1999--2004 Han-Wen Nienhuys */ @@ -18,15 +18,19 @@ Needs support from Staff_side for proper operation. Staff_side handles the positioning. */ -class Script +class Script_interface { public: - static Molecule get_molecule (Grob*,Direction d); - static void set_interface (Grob*); + static Stencil get_stencil (Grob*,Direction d); + static bool has_interface (Grob*); - DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM )); + DECLARE_SCHEME_CALLBACK (print, (SCM )); DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM )); }; +void make_script_from_event (Grob *p, + SCM * descr, Context *tg, + SCM type, + int index); #endif /* Stem_SCRIPT_HH */