]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-wrapper.cc
* Merge from stable:
[lilypond.git] / lily / music-wrapper.cc
index c6f7f50b9a0514a7eedbecdce969803ba5e375b1..a30b03958d9e519523da7afda4ee9b6f81a5aa4b 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1998--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -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 ();
+}