]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/transposed-music.cc
2003 -> 2004
[lilypond.git] / lily / transposed-music.cc
index 2bcb37086552f5e4ef1f9216a30770f942b2fc83..47905bca5357606fa5d0965cb505dd10ae060e26 100644 (file)
@@ -3,33 +3,21 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #include "transposed-music.hh"
-#include "debug.hh"
+#include "warn.hh"
 
-Transposed_music::Transposed_music (Music *p, Musical_pitch pit)
-  : Music_wrapper (p)
+Pitch
+Transposed_music::to_relative_octave (Pitch p)
 {
-  transpose_to_pitch_ = pit;
-  p->transpose (pit);
-}
-
-void
-Transposed_music::do_print () const
-{
-  Music_wrapper::do_print ();
-  DEBUG_OUT << "transposition pitch: " << transpose_to_pitch_.str ();
+  return p;
 }
 
-Musical_pitch
-Transposed_music::to_relative_octave (Musical_pitch p)
+ADD_MUSIC (Transposed_music);
+Transposed_music::Transposed_music ()
 {
 
-  return p;
 }
-
-
-