]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/music-wrapper.hh
* lily/translator.cc (derived_mark): new function.
[lilypond.git] / lily / include / music-wrapper.hh
index d5227830a7a33daf7f0d26bb1bb1ce2f628a74ca..ac7483f0ff803e4568b13151657a2a22942a3912 100644 (file)
@@ -3,7 +3,7 @@
   
   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>
   
  */
 
@@ -11,7 +11,7 @@
 #define MUSIC_WRAPPER_HH
 
 #include "music.hh"
-#include "musical-pitch.hh"
+#include "pitch.hh"
 
 /** A Music that modifies an existing Music.  This data structure
   corresponds to a production that takes a single Music argument,
 class Music_wrapper : public Music
 {
 public:
-  Music_wrapper (Music*);
-  Music * element () const;
-  virtual void transpose (Musical_pitch);
+  Music_wrapper ();
+  VIRTUAL_COPY_CONSTRUCTOR (Music, Music_wrapper);
 
-  
-  VIRTUAL_COPY_CONS(Music);
-  virtual Moment length_mom () const;
-  virtual Musical_pitch to_relative_octave (Musical_pitch);
-  virtual void compress (Moment);
+  Music *element () const;
+  virtual Moment get_length () const;
+  virtual Moment start_mom () const;
 };
 
-
-
-
 #endif /* MUSIC_WRAPPER_HH */