]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.12
authorfred <fred>
Sun, 24 Mar 2002 20:14:29 +0000 (20:14 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:14:29 +0000 (20:14 +0000)
lily/include/transposed-music.hh [new file with mode: 0644]
lily/music-wrapper.cc

diff --git a/lily/include/transposed-music.hh b/lily/include/transposed-music.hh
new file mode 100644 (file)
index 0000000..fe8781c
--- /dev/null
@@ -0,0 +1,29 @@
+/*   
+  transposed-music.hh -- declare 
+  
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  
+ */
+
+#ifndef TRANSPOSED_MUSIC_HH
+#define TRANSPOSED_MUSIC_HH
+
+
+#include "music-wrapper.hh"
+
+class Transposed_music : public Music_wrapper
+{
+public:
+  Musical_pitch transpose_to_pitch_;
+
+  void do_print () const;
+  Transposed_music (Music*, Musical_pitch);
+  DECLARE_MY_RUNTIME_TYPEINFO;
+  VIRTUAL_COPY_CONS (Transposed_music, Music);
+  virtual Musical_pitch to_relative_octave (Musical_pitch);
+};
+
+#endif /* TRANSPOSED_MUSIC_HH */
+
index 72971abf50c40efc4bece48003a0e46c1ff768b5..b6f6618e7998b91254187061385f6a1e91089188 100644 (file)
@@ -27,6 +27,8 @@ Music_wrapper::do_print () const
 {
   element_p_->print ();
 }
+
+
 void
 Music_wrapper::transpose (Musical_pitch p)
 {