]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-wrapper.cc
release: 1.0.15
[lilypond.git] / lily / music-wrapper.cc
index 2e241d5800ea08f6b67aac7ed7e306843ca13241..1785b386d4d688d0520ef34c8c62db3b2205364b 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998 Han-Wen Nienhuys <hanwen@cs.ruu.nl>
+  (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -27,6 +27,8 @@ Music_wrapper::do_print () const
 {
   element_p_->print ();
 }
+
+
 void
 Music_wrapper::transpose (Musical_pitch p)
 {
@@ -42,8 +44,8 @@ Music_wrapper::Music_wrapper(Music*p)
 
 IMPLEMENT_IS_TYPE_B1 (Music_wrapper, Music);
 
-MInterval
-Music_wrapper::time_int () const
+Moment
+Music_wrapper::duration () const
 {
-  return element_p_->time_int ();
+  return element_p_->duration ();
 }