]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/transposed-music.cc
* lily/paper-score.cc (process): Do not show progress newline.
[lilypond.git] / lily / transposed-music.cc
index 7c7f38ac2dbb601e746330bb18ed3250721479af..47905bca5357606fa5d0965cb505dd10ae060e26 100644 (file)
@@ -3,27 +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);
+  return p;
 }
 
-
-Musical_pitch
-Transposed_music::to_relative_octave (Musical_pitch p)
+ADD_MUSIC (Transposed_music);
+Transposed_music::Transposed_music ()
 {
 
-  return p;
 }
-
-
-