2 music-wrapper.hh -- declare Music_wrapper
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef MUSIC_WRAPPER_HH
11 #define MUSIC_WRAPPER_HH
14 #include "musical-pitch.hh"
16 /** A Music that modifies an existing Music. This data structure
17 corresponds to a production that takes a single Music argument,
22 class Music_wrapper
: public Music
26 Music_wrapper (Music
*);
27 Music
* element_l () const;
28 virtual void transpose (Musical_pitch
);
29 virtual void do_print () const;
31 VIRTUAL_COPY_CONS(Music
);
32 Music_wrapper (Music_wrapper
const&);
33 virtual Moment
length_mom () const;
34 virtual ~Music_wrapper ();
35 virtual Musical_pitch
to_relative_octave (Musical_pitch
);
36 virtual void compress (Moment
);
42 #endif /* MUSIC_WRAPPER_HH */