X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fduration.hh;h=3376f081c0d2aeba3d7cffd538ea84c3083d6473;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=377d54ef0e973a8895d123e127478912c8e570a1;hpb=31568c504806f35aac420a394c9eab07abd9faa7;p=lilypond.git diff --git a/lily/include/duration.hh b/lily/include/duration.hh index 377d54ef0e..3376f081c0 100644 --- a/lily/include/duration.hh +++ b/lily/include/duration.hh @@ -3,7 +3,7 @@ source file of the LilyPond music typesetter - (c) 1997--2006 Jan Nieuwenhuizen + (c) 1997--2008 Jan Nieuwenhuizen */ #ifndef DURATION_HH @@ -20,6 +20,7 @@ public: Duration (); Duration (int, int); + Duration (Rational, bool scale); string to_string () const; Duration compressed (Rational) const; @@ -31,7 +32,7 @@ public: static int compare (Duration const &, Duration const &); DECLARE_SCHEME_CALLBACK (less_p, (SCM a, SCM b)); - DECLARE_SIMPLE_SMOBS (Duration,); + DECLARE_SIMPLE_SMOBS (Duration); private: /// Logarithm of the base duration.