diff options
Diffstat (limited to 'src/frame_time.h')
| -rw-r--r-- | src/frame_time.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/frame_time.h b/src/frame_time.h index 1a97e63..e721a29 100644 --- a/src/frame_time.h +++ b/src/frame_time.h @@ -21,6 +21,7 @@ #define LIBSUB_FRAME_TIME_H #include <iostream> +#include <stdint.h> namespace sub { @@ -36,6 +37,11 @@ public: , _seconds (0) , _frames (0) {} + + /** @param f Number of frames. + * @param fps Frames per second. + */ + FrameTime (int64_t f, int fps); FrameTime (int h, int m, int s, int f) : _hours (h) |
