X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Flyric-extender.hh;h=b5410bbdb300ea6a32142c8bfbbf2fcbacbaa8c3;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=5dfd31ee58db683756978228673ed16806b15091;hpb=bfb10684605084baf1a898be8f42c0e463c5764a;p=lilypond.git diff --git a/lily/include/lyric-extender.hh b/lily/include/lyric-extender.hh index 5dfd31ee58..b5410bbdb3 100644 --- a/lily/include/lyric-extender.hh +++ b/lily/include/lyric-extender.hh @@ -2,16 +2,16 @@ /* extender-spanner.hh -- part of GNU LilyPond - (c) 1998--2002 Jan Nieuwenhuizen + (c) 1998--2008 Jan Nieuwenhuizen */ #ifndef EXTENDER_SPANNER_HH #define EXTENDER_SPANNER_HH -#include "spanner.hh" +#include "grob-interface.hh" +#include "lily-proto.hh" /* - Extenders must be entered manually for now. Although it would be possible for Lily to determine where to @@ -22,15 +22,13 @@ for on a word's last syllable. The extender should be aligned with the left side of the last note of the melissima, and not extend beond, lasting the whole duration of the melissima - - */ +*/ class Lyric_extender { public: - static bool has_interface (Grob*); - static void set_textitem (Spanner*, Direction, Grob*); - DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM )); + DECLARE_GROB_INTERFACE(); + DECLARE_SCHEME_CALLBACK (print, (SCM)); }; #endif // EXTENDER_SPANNER_HH