]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/music-wrapper.hh
* buildscripts/lilypond-words.py (F):
[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--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #ifndef MUSIC_WRAPPER_HH
10 #define MUSIC_WRAPPER_HH
11
12 #include "music.hh"
13 #include "pitch.hh"
14
15 /** A Music that modifies an existing Music.  This data structure
16     corresponds to a production that takes a single Music argument,
17
18     Music: STUFF Music
19 */
20 class Music_wrapper : public Music
21 {
22 public:
23   Music_wrapper (SCM);
24   VIRTUAL_COPY_CONSTRUCTOR (Music, Music_wrapper);
25   DECLARE_SCHEME_CALLBACK (length_callback, (SCM));
26   DECLARE_SCHEME_CALLBACK (start_callback, (SCM));
27
28   Music *element () const;
29 };
30
31 #endif /* MUSIC_WRAPPER_HH */
32