X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Flyric-extender.hh;h=88135421e4de30f32aa6dd8f5702ca5d38d5c1dd;hb=8c59e9496cf80f99423dca2f6875db2a8c21f16c;hp=751e4f8ed5a395e1ac5497e1e96d611e2e463b4c;hpb=2745cbd907f8216a4cc1fc5f488ae19efdfdbd10;p=lilypond.git diff --git a/lily/include/lyric-extender.hh b/lily/include/lyric-extender.hh index 751e4f8ed5..88135421e4 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--2003 Jan Nieuwenhuizen + Copyright (C) 1998--2015 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