diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-03 23:06:10 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-03 23:06:10 +0000 |
commit | 63a15de53d63a48c160addc7793cea5b7b76ab6c (patch) | |
tree | b8c38d211d7f5b030b104b33d70448bc87f67626 /timers.h | |
parent | f1de2f0fb307bff494050aa84ff98312688ddfa3 (diff) | |
download | vdr-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.h | 26 |
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 |