X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fmusic.hh;h=2b11f459c166b8bad89e1b04d1a41f9c1cc32806;hb=fc3e875d6bf06f0680e897faffdcab36ad975a03;hp=c6b5339e4f7db7dd80882bca9c7d8e0fb043b07b;hpb=1161a2b71bc32575ea9878a8631221edb8c03279;p=lilypond.git diff --git a/lily/include/music.hh b/lily/include/music.hh index c6b5339e4f..2b11f459c1 100644 --- a/lily/include/music.hh +++ b/lily/include/music.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2000 Han-Wen Nienhuys + (c) 1997--2001 Han-Wen Nienhuys */ @@ -16,12 +16,14 @@ #include "lily-proto.hh" #include "string.hh" #include "smobs.hh" +#include "music-constructor.hh" + /** Music is anything that has duration and supports both time compression and transposition. In Lily, everything that can be thought to have a length and a pitch - (which has a duration which can be transposed) is considered "music", + (which has a duration which can be transposed) is considered "music", Music is hierarchical: @@ -49,17 +51,17 @@ public: /// The duration of this piece of music virtual Moment length_mom () const; - void print() const; + void print () const; /// Transpose, with the interval central C to #p# virtual void transpose (Pitch p); /// Scale the music in time by #factor#. virtual void compress (Moment factor); - VIRTUAL_COPY_CONS(Music); + VIRTUAL_COPY_CONS (Music); Music (Music const &m); Music (SCM); protected: - DECLARE_SMOBS(Music,); + DECLARE_SMOBS (Music,); SCM immutable_property_alist_; SCM mutable_property_alist_; };