summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-08-15 14:13:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-08-15 14:13:42 +0200
commitf4007c7ff3d1f1f686bf3c74399027f7d91de86b (patch)
tree51b441aafdc662c09ea76d73b7e43f1ce8e7f028 /tools.h
parent4a9fd9b097c0c1bbd37b436bbd4bb0a6a6bf78a9 (diff)
downloadvdr-f4007c7ff3d1f1f686bf3c74399027f7d91de86b.tar.gz
vdr-f4007c7ff3d1f1f686bf3c74399027f7d91de86b.tar.bz2
cTimeMs is no longer initialized to the current time if the value given to the constructor is negative1.7.20
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools.h b/tools.h
index bc51daed..3d13c191 100644
--- a/tools.h
+++ b/tools.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.h 2.10 2011/08/15 11:50:02 kls Exp $
+ * $Id: tools.h 2.11 2011/08/15 14:13:42 kls Exp $
*/
#ifndef __TOOLS_H
@@ -272,6 +272,8 @@ private:
public:
cTimeMs(int Ms = 0);
///< Creates a timer with ms resolution and an initial timeout of Ms.
+ ///< If Ms is negative the timer is not initialized with the current
+ ///< time.
static uint64_t Now(void);
void Set(int Ms = 0);
bool TimedOut(void);