From d342a1befa88cb3f23c7e3fccfd1edaeea968fed Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 22 May 2014 14:57:56 +0100 Subject: Add ContentTimePeriod class. --- src/lib/dcpomatic_time.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/lib/dcpomatic_time.h') diff --git a/src/lib/dcpomatic_time.h b/src/lib/dcpomatic_time.h index 109dc9b7f..e56f58c4b 100644 --- a/src/lib/dcpomatic_time.h +++ b/src/lib/dcpomatic_time.h @@ -146,6 +146,19 @@ public: std::ostream& operator<< (std::ostream& s, ContentTime t); +class ContentTimePeriod +{ +public: + ContentTimePeriod () {} + ContentTimePeriod (ContentTime f, ContentTime t) + : from (f) + , to (t) + {} + + ContentTime from; + ContentTime to; +}; + class DCPTime : public Time { public: -- cgit v1.2.3