2014-09-27 09:25:14 +02:00
|
|
|
#ifndef __NOPACITY_TIMERS_H
|
|
|
|
#define __NOPACITY_TIMERS_H
|
|
|
|
|
|
|
|
#include <vdr/timers.h>
|
|
|
|
#include <vdr/plugin.h>
|
|
|
|
|
|
|
|
class cGlobalSortedTimers : public cVector<const cTimer *> {
|
2015-04-01 11:21:00 +02:00
|
|
|
private:
|
|
|
|
bool *localTimer;
|
2014-09-27 09:25:14 +02:00
|
|
|
public:
|
|
|
|
cGlobalSortedTimers(bool forceRefresh = false);
|
2015-04-01 11:21:00 +02:00
|
|
|
virtual ~cGlobalSortedTimers(void);
|
|
|
|
bool IsRemoteTimer(int i);
|
2014-09-27 09:25:14 +02:00
|
|
|
int NumTimerConfilicts(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
class cRemoteTimerRefresh: public cThread {
|
|
|
|
protected:
|
|
|
|
virtual void Action(void);
|
|
|
|
public:
|
|
|
|
cRemoteTimerRefresh(void);
|
|
|
|
virtual ~cRemoteTimerRefresh(void);
|
|
|
|
};
|
|
|
|
#endif //__NOPACITY_TIMERS_H
|