Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Stolk <github@netripper.nl>2011-03-09 23:57:51 +0300
committerMartijn Stolk <github@netripper.nl>2011-03-09 23:57:51 +0300
commitdb2538f37161d23a77f580ac8096d1f8642aa1a8 (patch)
tree52040ac387834be9d4467183af8b4ce0956e8b8e /src/Timer.h
parent6d62ae7237eb7c98853d2581cc67f11f2b29bab1 (diff)
Overlay: add sorting options, including ability to sort on last state change
Diffstat (limited to 'src/Timer.h')
-rw-r--r--src/Timer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Timer.h b/src/Timer.h
index ad61ee48b..dff3642ae 100644
--- a/src/Timer.h
+++ b/src/Timer.h
@@ -43,6 +43,14 @@ public:
quint64 elapsed() const;
quint64 restart();
bool isStarted() const;
+
+ /*! Compares the elapsed time, not the start time
+ */
+ bool operator<(const Timer &other) const;
+
+ /*! Compares the elapsed time, not the start time
+ */
+ bool operator>(const Timer &other) const;
};
#endif