diff options
Diffstat (limited to 'lib/edi/common.hpp')
-rw-r--r-- | lib/edi/common.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/edi/common.hpp b/lib/edi/common.hpp index 8252a7a..2a9c683 100644 --- a/lib/edi/common.hpp +++ b/lib/edi/common.hpp @@ -43,6 +43,8 @@ struct frame_timestamp_t { double diff_ms(const frame_timestamp_t& other) const; + frame_timestamp_t& operator+=(const std::chrono::milliseconds& ms); + static frame_timestamp_t from_unix_epoch(std::time_t time, uint32_t tai_utc_offset, uint32_t tsta); }; |