summaryrefslogtreecommitdiff
path: root/src/dcp_time.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-14 20:15:43 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-14 20:15:43 +0000
commited6a471b61d36a3ba7e8696fa3e5606406c5cf62 (patch)
tree3ca098925eb269c4cd41ff22124773ba7d36c14b /src/dcp_time.h
parent67cf9c95d190b1f2a67d73c0a7f712e213b6e71a (diff)
parent62ee85a258aa9329544d8542dfbcc40ce8177a7a (diff)
Merge master
Diffstat (limited to 'src/dcp_time.h')
-rw-r--r--src/dcp_time.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dcp_time.h b/src/dcp_time.h
index eff69579..1b73e3e8 100644
--- a/src/dcp_time.h
+++ b/src/dcp_time.h
@@ -39,7 +39,13 @@ public:
* and a frames per second count.
*/
Time (int frame, int frames_per_second);
-
+
+ /** Construct a Time from hours, minutes, seconds and ticks.
+ * @param h_ Hours.
+ * @param m_ Minutes.
+ * @param s_ Seconds.
+ * @param t_ Ticks (where 1 tick is 4 milliseconds).
+ */
Time (int h_, int m_, int s_, int t_)
: h (h_)
, m (m_)