2 event.hh -- declare Event baseclasses.
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
15 #include "duration.hh"
18 /* An atom of musical information. This is an abstract class for any
19 piece of music that does not contain other Music. */
20 class Event : public Music
24 VIRTUAL_COPY_CONSTRUCTOR (Music, Event);
25 virtual void compress (Moment);
26 DECLARE_SCHEME_CALLBACK(length_callback,(SCM));
27 virtual Pitch to_relative_octave (Pitch);
34 class Key_change_ev : public Event
41 VIRTUAL_COPY_CONSTRUCTOR (Music, Key_change_ev);
42 void transpose (Pitch d);
45 SCM ly_transpose_key_alist (SCM,SCM);