From e70f560b63aa5c17d2f7f102f232cf4d5cd4c807 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 17 Jan 2015 01:30:10 +0000 Subject: Add Time::all_as_seconds(). --- src/sub_time.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sub_time.h') diff --git a/src/sub_time.h b/src/sub_time.h index 7e1d193..22178e9 100644 --- a/src/sub_time.h +++ b/src/sub_time.h @@ -55,6 +55,8 @@ public: int frames_at (Rational rate) const; int milliseconds () const; + double all_as_seconds () const; + static Time from_hmsf (int h, int m, int s, int f, boost::optional rate = boost::optional ()); static Time from_hms (int h, int m, int s, int ms); -- cgit v1.2.3