X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcpomatic_time.h;h=8b2bcce05d0f10cb61d8ece42df965187923ff7c;hp=cc31755cb6c3e2f84d79ef62f7c20cb9640c8f3c;hb=67a68bd971ebe1b35daa3f75873b4ccb53c00ba0;hpb=3449bc0a6d6e77e851240a0953363f5a07ec6517 diff --git a/src/lib/dcpomatic_time.h b/src/lib/dcpomatic_time.h index cc31755cb..8b2bcce05 100644 --- a/src/lib/dcpomatic_time.h +++ b/src/lib/dcpomatic_time.h @@ -158,7 +158,13 @@ public: return ::ceil (_t * double(r) / HZ); } - /** @param r Frames per second */ + /** Split a time into hours, minutes, seconds and frames. + * @param r Frames per second. + * @param h Returned hours. + * @param m Returned minutes. + * @param s Returned seconds. + * @param f Returned frames. + */ template void split (T r, int& h, int& m, int& s, int& f) const { @@ -292,7 +298,9 @@ public: } }; -/** @param B Periods to subtract from `A', must be in ascending order of start time and must not overlap */ +/** @param A Period which is subtracted from. + * @param B Periods to subtract from `A', must be in ascending order of start time and must not overlap. + */ template std::list > subtract (TimePeriod A, std::list > const & B) {