X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fmusic-sequence.hh;h=e01058bbfc8b3c8f511391b234054b730099f5eb;hb=efd9256dd40c43b2f141cd34b8830d247643ce2b;hp=34e69c16b98641aa85bef9d44381eebb40c26556;hpb=4eee0d110ca632aa8adf3af223f7040c7b9752ff;p=lilypond.git diff --git a/lily/include/music-sequence.hh b/lily/include/music-sequence.hh index 34e69c16b9..e01058bbfc 100644 --- a/lily/include/music-sequence.hh +++ b/lily/include/music-sequence.hh @@ -1,36 +1,39 @@ -/* +/* music-sequence.hh -- declare Music_sequence - + source file of the GNU LilyPond music typesetter - - (c) 2000--2004 Han-Wen Nienhuys - - */ + + (c) 2000--2009 Han-Wen Nienhuys +*/ #ifndef MUSIC_SEQUENCE_HH #define MUSIC_SEQUENCE_HH -#include "music.hh" +#include "pitch.hh" +#include "moment.hh" +#include "lily-guile.hh" -class Music_sequence : public Music +struct Music_sequence { public: - Music_sequence (SCM h); - VIRTUAL_COPY_CONSTRUCTOR (Music, Music_sequence); - DECLARE_SCHEME_CALLBACK(cumulative_length_callback, (SCM)); - DECLARE_SCHEME_CALLBACK(maximum_length_callback, (SCM)); - SCM music_list () const; - + DECLARE_SCHEME_CALLBACK (cumulative_length_callback, (SCM)); + DECLARE_SCHEME_CALLBACK (maximum_length_callback, (SCM)); + DECLARE_SCHEME_CALLBACK (minimum_start_callback, (SCM)); + DECLARE_SCHEME_CALLBACK (first_start_callback, (SCM)); + DECLARE_SCHEME_CALLBACK (simultaneous_relative_callback, (SCM, SCM)); + DECLARE_SCHEME_CALLBACK (event_chord_relative_callback, (SCM, SCM)); + Pitch do_relative_octave (Pitch p, bool b); - - static Moment cumulative_length (SCM) ; - static Moment maximum_length (SCM) ; - static Moment first_start (SCM list) ; + + static Moment cumulative_length (SCM); + static Moment maximum_length (SCM); + static Moment first_start (SCM list); static Moment minimum_start (SCM list); }; -Pitch music_list_to_relative (SCM l,Pitch p, bool ret_first); -void transpose_music_list (SCM , Pitch); +SCM ly_transpose_key_alist (SCM l, SCM pit); +Pitch music_list_to_relative (SCM l, Pitch p, bool ret_first); +void transpose_music_list (SCM, Pitch); void compress_music_list (SCM, Moment); #endif