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:44:55 +0300
committerMartijn Stolk <github@netripper.nl>2011-03-09 23:44:55 +0300
commit6d62ae7237eb7c98853d2581cc67f11f2b29bab1 (patch)
treee7c43d68fdce497b842d9f6b802d443a9a6ba474 /src/Timer.h
parent9682d7de1c314bab95355fbf10860f8aec04e0bf (diff)
Overlay: add support for displaying active users
Active users meaning those that are currently talking and users that have recently talked within a configurable amount of time.
Diffstat (limited to 'src/Timer.h')
-rw-r--r--src/Timer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Timer.h b/src/Timer.h
index a4f166011..ad61ee48b 100644
--- a/src/Timer.h
+++ b/src/Timer.h
@@ -38,10 +38,11 @@ protected:
quint64 uiStart;
static quint64 now();
public:
- Timer();
+ Timer(bool start = true);
bool isElapsed(quint64 us);
quint64 elapsed() const;
quint64 restart();
+ bool isStarted() const;
};
#endif