From a46c7161bddc00b5b11bda0f8a14066b5f837302 Mon Sep 17 00:00:00 2001 From: Frank Neumann Date: Mon, 1 May 2017 11:02:21 +0200 Subject: Add compatibility for VDR 2.3.2+ (thx kamel5, mini73 & TomJoad) --- searchtimer_thread.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'searchtimer_thread.h') 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(); }; -- cgit v1.2.3