summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-06-02 12:10:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-06-02 12:10:36 +0200
commit4e57f400967a27e9eca7632ae8a80129a065c5b5 (patch)
tree4752a0e466b4dd347e319f231f987f8d658cb830 /timers.h
parent754863902147fb87baf824db92e2073095d41386 (diff)
downloadvdr-4e57f400967a27e9eca7632ae8a80129a065c5b5.tar.gz
vdr-4e57f400967a27e9eca7632ae8a80129a065c5b5.tar.bz2
The new class cSortedTimers can be used to quickly get a list of all timers, sorted by their start time
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/timers.h b/timers.h
index aa746b17..e77b3946 100644
--- a/timers.h
+++ b/timers.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.h 2.3 2012/02/20 15:52:57 kls Exp $
+ * $Id: timers.h 2.4 2012/06/02 12:10:00 kls Exp $
*/
#ifndef __TIMERS_H
@@ -135,4 +135,9 @@ public:
extern cTimers Timers;
+class cSortedTimers : public cVector<const cTimer *> {
+public:
+ cSortedTimers(void);
+ };
+
#endif //__TIMERS_H