]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/music-wrapper.hh
d2aa3556760a64504f764c59321e768bd13835ea
[lilypond.git] / lily / include / music-wrapper.hh
1 /*   
2   music-wrapper.hh -- declare Music_wrapper
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef MUSIC_WRAPPER_HH
11 #define MUSIC_WRAPPER_HH
12
13 #include "music.hh"
14 #include "pitch.hh"
15
16 /** A Music that modifies an existing Music.  This data structure
17   corresponds to a production that takes a single Music argument,
18   
19   Music: STUFF Music 
20
21   */
22 class Music_wrapper : public Music
23 {
24 public:
25   Music_wrapper (SCM);
26   VIRTUAL_COPY_CONSTRUCTOR (Music, Music_wrapper);
27   DECLARE_SCHEME_CALLBACK(length_callback,(SCM));
28   DECLARE_SCHEME_CALLBACK(start_callback, (SCM));
29   
30   Music *element () const;
31 };
32
33 #endif /* MUSIC_WRAPPER_HH */
34