summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-03 23:06:10 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-03 23:06:10 +0000
commit63a15de53d63a48c160addc7793cea5b7b76ab6c (patch)
treeb8c38d211d7f5b030b104b33d70448bc87f67626 /timers.h
parentf1de2f0fb307bff494050aa84ff98312688ddfa3 (diff)
downloadvdr-plugin-live-63a15de53d63a48c160addc7793cea5b7b76ab6c.tar.gz
vdr-plugin-live-63a15de53d63a48c160addc7793cea5b7b76ab6c.tar.bz2
- added new Timers class that wraps cTimers functionality
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/timers.h b/timers.h
new file mode 100644
index 0000000..2ab1ee2
--- /dev/null
+++ b/timers.h
@@ -0,0 +1,26 @@
+#ifndef VDR_LIVE_TIMERS_H
+#define VDR_LIVE_TIMERS_H
+
+#include <list>
+#include <vdr/timers.h>
+
+namespace vdrlive {
+
+class SortedTimers
+{
+public:
+ typedef std::list< cTimer > List;
+ typedef List::iterator iterator;
+
+ SortedTimers();
+
+ iterator begin() { return m_timers.begin(); }
+ iterator end() { return m_timers.end(); }
+
+private:
+ List m_timers;
+};
+
+} // namespace vdrlive
+
+#endif // VDR_LIVE_TIMERS_H