summaryrefslogtreecommitdiff
path: root/timers.h
blob: 2ab1ee2047e597c269ff148cabf6cdac060edb55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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