summaryrefslogtreecommitdiff
path: root/src/dcp_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp_time.h')
-rw-r--r--src/dcp_time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dcp_time.h b/src/dcp_time.h
index 0bbf5510..8033348b 100644
--- a/src/dcp_time.h
+++ b/src/dcp_time.h
@@ -53,9 +53,13 @@ public:
int m; ///< minutes
int s; ///< seconds
int t; ///< `ticks', where 1 tick is 4 milliseconds
+
+ std::string to_string () const;
+ int64_t to_ticks () const;
};
extern bool operator== (Time const & a, Time const & b);
+extern bool operator!= (Time const & a, Time const & b);
extern bool operator<= (Time const & a, Time const & b);
extern bool operator< (Time const & a, Time const & b);
extern bool operator> (Time const & a, Time const & b);