]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-wrapper.cc
*** empty log message ***
[lilypond.git] / lily / music-wrapper.cc
index 222bda0fcd23962d43950c33bf7973fa08d7bd8a..3eac65aec6f4688469611208c0d78cd1754ae089 100644 (file)
@@ -3,22 +3,13 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 
-#include "music-wrapper.hh"
-
-
-
 
-void
-Music_wrapper::transpose (Pitch p)
-{
-  if (element ())
-    element ()-> transpose (p);
-}
+#include "music-wrapper.hh"
 
 
 Music_wrapper::Music_wrapper ()
@@ -27,29 +18,17 @@ Music_wrapper::Music_wrapper ()
 }
 
 Moment
-Music_wrapper::length_mom () const
+Music_wrapper::get_length () const
 {
-  return element ()->length_mom ();
+  return element ()->get_length ();
 }
 
-Pitch
-Music_wrapper::to_relative_octave (Pitch p)
-{
-  return element ()->to_relative_octave (p);
-}
-
-
 Music*
 Music_wrapper::element () const
 {
-  return unsmob_music (get_mus_property ("element"));
+  return unsmob_music (get_property ("element"));
 }
 
-void
-Music_wrapper::compress (Moment m)
-{
-  element ()->compress (m);
-}
 
 ADD_MUSIC (Music_wrapper);