X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmusic-wrapper.cc;h=a30b03958d9e519523da7afda4ee9b6f81a5aa4b;hb=1f0d3e5ed0e3b1f0a21a7d64e5b9c7e27bba4f5a;hp=c6f7f50b9a0514a7eedbecdce969803ba5e375b1;hpb=1161a2b71bc32575ea9878a8631221edb8c03279;p=lilypond.git diff --git a/lily/music-wrapper.cc b/lily/music-wrapper.cc index c6f7f50b9a..a30b03958d 100644 --- a/lily/music-wrapper.cc +++ b/lily/music-wrapper.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1998--2000 Han-Wen Nienhuys + (c) 1998--2002 Han-Wen Nienhuys */ @@ -21,15 +21,15 @@ Music_wrapper::transpose (Pitch p) } -Music_wrapper::Music_wrapper(SCM l) - : Music (l) +Music_wrapper::Music_wrapper () + : Music () { } Moment -Music_wrapper::length_mom () const +Music_wrapper::get_length () const { - return element ()->length_mom (); + return element ()->get_length (); } Pitch @@ -50,3 +50,12 @@ Music_wrapper::compress (Moment m) { element ()->compress (m); } + +ADD_MUSIC (Music_wrapper); + + +Moment +Music_wrapper::start_mom () const +{ + return element ()->start_mom (); +}