X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fduration.hh;h=69cbba5e9df8b7e3db2597312253722c01fe071a;hb=0e5d83a9ceb4a143f83d22406d7eb816314ff9f7;hp=6d7bdf6a32f8ad238d5cf0297021866a705b1166;hpb=b37e3f652677ae0298423db9fa0e552e5fce0c92;p=lilypond.git diff --git a/lily/include/duration.hh b/lily/include/duration.hh index 6d7bdf6a32..69cbba5e9d 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--2009 Jan Nieuwenhuizen */ #ifndef DURATION_HH @@ -20,7 +20,8 @@ public: Duration (); Duration (int, int); - std::string to_string () const; + Duration (Rational, bool scale); + string to_string () const; Duration compressed (Rational) const; Rational get_length () 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.