lilypond-1.1.7
[lilypond.git] / lily / include / music-wrapper.hh
blob46008d2f5c921be343cdf8755aca7c28dbb15b9a
1 /*
2 music-wrapper.hh -- declare Music_wrapper
4 source file of the GNU LilyPond music typesetter
6 (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
10 #ifndef MUSIC_WRAPPER_HH
11 #define MUSIC_WRAPPER_HH
13 #include "music.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,
19 Music: STUFF Music
22 class Music_wrapper : public Music
24 public:
25 Music * element_p_;
26 Music_wrapper (Music*);
27 virtual void transpose (Musical_pitch);
28 virtual void do_print () const;
30 VIRTUAL_COPY_CONS(Music);
31 Music_wrapper (Music_wrapper const&);
32 virtual Moment duration () const;
33 virtual ~Music_wrapper ();
39 #endif /* MUSIC_WRAPPER_HH */