summaryrefslogtreecommitdiff
path: root/pagelib/sortedtimers.h
blob: ffe91508d919f3bacdacb4df248261ba7a9aecd2 (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_SORTEDTIMERS_H
#define VDR_LIVE_SORTEDTIMERS_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_SORTEDTIMERS_H