X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fmusic-wrapper.hh;h=94b2a3165ec91167899c2cc49849d432934dfafa;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=78530642cea605d002261c3447a8a40aafb5cbfd;hpb=237583408aaf3b2192c388c3183d9c57fb051bd0;p=lilypond.git diff --git a/lily/include/music-wrapper.hh b/lily/include/music-wrapper.hh index 78530642ce..94b2a3165e 100644 --- a/lily/include/music-wrapper.hh +++ b/lily/include/music-wrapper.hh @@ -1,37 +1,22 @@ -/* +/* music-wrapper.hh -- declare Music_wrapper - + source file of the GNU LilyPond music typesetter - - (c) 1998--2003 Han-Wen Nienhuys - - */ + + (c) 1998--2008 Han-Wen Nienhuys +*/ #ifndef MUSIC_WRAPPER_HH #define MUSIC_WRAPPER_HH -#include "music.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 +#include "lily-guile.hh" - */ -class Music_wrapper : public Music +struct Music_wrapper { public: - Music_wrapper (); - Music * element () const; - - VIRTUAL_COPY_CONS (Music); - virtual Moment get_length () const; - virtual Moment start_mom () const; + DECLARE_SCHEME_CALLBACK (length_callback, (SCM)); + DECLARE_SCHEME_CALLBACK (start_callback, (SCM)); }; - - - #endif /* MUSIC_WRAPPER_HH */