]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/music-wrapper.hh
2003 -> 2004
[lilypond.git] / lily / include / music-wrapper.hh
index cdecc0b5bafdaad4ddb24354c6da80ef46a0b6fe..aa7b53937a414bfe3d77fc9c0ee8c889f764cf71 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #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,
+  
+  Music: STUFF Music 
+
+  */
 class Music_wrapper : public Music
 {
 public:
-  Music * element_p_;
-  Music_wrapper (Music*);
-  virtual void transpose (Musical_pitch);
-  virtual void do_print () const;
-  DECLARE_MY_RUNTIME_TYPEINFO;
-  VIRTUAL_COPY_CONS (Music_wrapper, Music);
-  Music_wrapper (Music_wrapper const&);
-  virtual MInterval time_int () const;
-  virtual ~Music_wrapper ();
+  Music_wrapper ();
+  Music * element () const;
+  
+  VIRTUAL_COPY_CONS (Music);
+  virtual Moment get_length () const;
+  virtual Moment start_mom () const;
 };
 
 
 
+
 #endif /* MUSIC_WRAPPER_HH */