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 "virtual-methods.hh"
18
#include "duration.hh"
21
/* An atom of musical information. This is an abstract class for any
22
piece of music that does not contain other Music. */
23
class Event : public Music
27
VIRTUAL_COPY_CONSTRUCTOR (Music, Event);
28
virtual void compress (Moment);
29
virtual void transpose (Pitch);
30
virtual Moment get_length () const;
31
virtual Pitch to_relative_octave (Pitch);
38
class Key_change_ev : public Event
44
VIRTUAL_COPY_CONSTRUCTOR (Music, Key_change_ev);
45
void transpose (Pitch d);
48
SCM ly_transpose_key_alist (SCM,SCM);