diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-21 16:04:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-21 16:04:57 +0100 |
| commit | 99d72a19f9e5ebbbb36bbbb95164a15c165a6a42 (patch) | |
| tree | eecb904bb0c46a318bc0fc1d7aad70b7eaf72ff4 /src/time_pair.h | |
| parent | de49deb8b65bad47fda93a04fab2e97b10d48a75 (diff) | |
Add some add() methods to Time classes.
Diffstat (limited to 'src/time_pair.h')
| -rw-r--r-- | src/time_pair.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time_pair.h b/src/time_pair.h index 85d79e5..deb46c0 100644 --- a/src/time_pair.h +++ b/src/time_pair.h @@ -53,6 +53,8 @@ public: FrameTime frame (float frames_per_second) const; MetricTime metric (float frames_per_second) const; + void add (FrameTime t, float frames_per_second); + bool operator== (TimePair const & other) const; private: |
