diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-05 16:35:34 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-05 16:35:34 +0000 |
| commit | 6c5e5435d105685a537561ca0e6a223d34af85e1 (patch) | |
| tree | b2415a607f5fdaadc4a37edb7e7a68a5ef0bc7cc /src/frame_time.h | |
| parent | 095dcf9a0fb075ca84537beff2fe6a41c837e8da (diff) | |
Support for conversions of things that have multiple representations.
Diffstat (limited to 'src/frame_time.h')
| -rw-r--r-- | src/frame_time.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/frame_time.h b/src/frame_time.h index 045b833..9443676 100644 --- a/src/frame_time.h +++ b/src/frame_time.h @@ -41,6 +41,22 @@ public: , _frames (f) {} + int hours () const { + return _hours; + } + + int minutes () const { + return _minutes; + } + + int seconds () const { + return _seconds; + } + + int frames () const { + return _frames; + } + std::string timecode () const; private: |
