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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dcp_time.h b/src/dcp_time.h
index 626cdaca..0bbf5510 100644
--- a/src/dcp_time.h
+++ b/src/dcp_time.h
@@ -47,6 +47,8 @@ public:
, t (t_)
{}
+ Time (std::string time);
+
int h; ///< hours
int m; ///< minutes
int s; ///< seconds
@@ -55,7 +57,12 @@ public:
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 std::ostream & operator<< (std::ostream & s, Time const & t);
+extern Time operator+ (Time a, Time const & b);
+extern Time operator- (Time a, Time const & b);
+extern float operator/ (Time a, Time const & b);
}