X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fdcp_time.h;h=1221fb328a33168f2aa73a22e2201f960e30e441;hb=2ae92dcc97765deb2845dd07a338858aeb375cb3;hp=c5d0186e4cf88ab0614924c82f7208a9a458b211;hpb=331b2f8297b2b8a6db07a22dbbff7f913fe7a2f1;p=libdcp.git diff --git a/src/dcp_time.h b/src/dcp_time.h index c5d0186e..1221fb32 100644 --- a/src/dcp_time.h +++ b/src/dcp_time.h @@ -39,8 +39,10 @@ public: /** Construct a zero Time */ Time () : h (0), m (0), s (0), e (0), tcr (1) {} - /** Construct a Time from a frame index (starting from 0), - * a frames per second count and a timecode rate. + /** Construct a Time. + * @param Frame index (starting from 0). + * @param frames_per_second Frames per second. + * @param tcr Timecode rate. */ Time (int frame, int frames_per_second, int tcr); @@ -85,7 +87,7 @@ extern bool operator< (Time const & a, Time const & b); extern bool operator> (Time const & a, Time const & b); extern bool operator>= (Time const & a, Time const & b); extern std::ostream & operator<< (std::ostream & s, Time const & t); -extern Time operator+ (Time a, Time b); +extern Time operator+ (Time a, Time b); extern Time operator- (Time a, Time b); extern float operator/ (Time a, Time const & b);