X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fevent.hh;fp=lily%2Finclude%2Fevent.hh;h=25e5210adc611bfb58290746d778e438dc2848d6;hb=a54fef48345564ae701839c525379939c840638d;hp=c8d8795284de688889209d018d84da0e1abc3c12;hpb=05589d7829055f2688c5ec376a085364c86e5d84;p=lilypond.git diff --git a/lily/include/event.hh b/lily/include/event.hh index c8d8795284..25e5210adc 100644 --- a/lily/include/event.hh +++ b/lily/include/event.hh @@ -18,15 +18,13 @@ #include "duration.hh" #include "pitch.hh" -/** An atom of musical information. This is an abstract class for any - piece of music that does not contain other Music. - - - */ -class Event : public Music { +/* An atom of musical information. This is an abstract class for any + piece of music that does not contain other Music. */ +class Event : public Music +{ public: Event (); - VIRTUAL_COPY_CONS (Music); + VIRTUAL_COPY_CONSTRUCTOR (Music, Event); virtual void compress (Moment); virtual void transpose (Pitch); virtual Moment get_length () const; @@ -43,7 +41,7 @@ public: SCM pitch_alist (); protected: - VIRTUAL_COPY_CONS (Music); + VIRTUAL_COPY_CONSTRUCTOR (Music, Key_change_ev); void transpose (Pitch d); };