diff options
author | Frank Neumann <fnu@yavdr.org> | 2017-05-01 11:02:21 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-05-01 11:02:21 +0200 |
commit | a46c7161bddc00b5b11bda0f8a14066b5f837302 (patch) | |
tree | 48e50b78f0efb1120b39bfb07f3612aabb1541e6 /searchtimer_thread.h | |
parent | 0b09f90f361454d1d422cc750ee84359f11bd378 (diff) | |
download | vdr-plugin-epgsearch-a46c7161bddc00b5b11bda0f8a14066b5f837302.tar.gz vdr-plugin-epgsearch-a46c7161bddc00b5b11bda0f8a14066b5f837302.tar.bz2 |
Add compatibility for VDR 2.3.2+ (thx kamel5, mini73 & TomJoad)
Diffstat (limited to 'searchtimer_thread.h')
-rw-r--r-- | searchtimer_thread.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/searchtimer_thread.h b/searchtimer_thread.h index 91476ac..fe8d6dd 100644 --- a/searchtimer_thread.h +++ b/searchtimer_thread.h @@ -53,15 +53,15 @@ class cSearchTimerThread: public cThread { protected: virtual void Action(void); bool AddModTimer(cTimer* Timer, int, cSearchExt*, const cEvent*, int Prio, int Lifetime, char* Summary = NULL, uint timerMod = tmNoChange); - void RemoveTimer(cTimer* Timer, const cEvent* Event = NULL); + void RemoveTimer(const cTimer* Timer, const cEvent* Event = NULL); void Stop(void); bool NeedUpdate(); - bool TimerWasModified(cTimer* t); + bool TimerWasModified(const cTimer* t); public: static cSearchResults announceList; - static char* SummaryExtended(cSearchExt* searchExt, cTimer* Timer, const cEvent* pEvent); + static char* SummaryExtended(cSearchExt* searchExt, const cTimer* Timer, const cEvent* pEvent); static cSearchTimerThread *m_Instance; - static cTimer* GetTimer(cSearchExt *searchExt, const cEvent *pEvent, bool& bTimesMatchExactly); + static const cTimer* GetTimer(const cTimers* vdrtimers, cSearchExt *searchExt, const cEvent *pEvent, bool& bTimesMatchExactly); static bool justRunning; cSearchTimerThread(cPluginEpgsearch* thePlugin); @@ -70,7 +70,7 @@ class cSearchTimerThread: public cThread { static void Exit(void); void CheckExpiredRecs(); void DelRecording(int index); - void CheckManualTimers(); + void CheckManualTimers(void); void ModifyManualTimer(const cEvent* event, const cTimer* timer, int bstart, int bstop); void CheckEPGHours(); }; |