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 /epgsearchext.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 'epgsearchext.h')
-rw-r--r-- | epgsearchext.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/epgsearchext.h b/epgsearchext.h index eee3cf4..3e6148e 100644 --- a/epgsearchext.h +++ b/epgsearchext.h @@ -140,8 +140,8 @@ public: std::string contentsFilter; int useExtEPGInfo; char** catvalues; - cChannel *channelMin; - cChannel *channelMax; + const cChannel *channelMin; + const cChannel *channelMax; char* channelGroup; int avoidRepeats; int compareTitle; @@ -181,9 +181,9 @@ public: int StartTime(void) { return startTime; } int StopTime(void) { return stopTime; } int UseChannel(void) { return useChannel; } - cChannel *ChannelMin(void) { return channelMin; } - cChannel *ChannelMax(void) { return channelMax; } - cEvent * GetEventBySearchExt(const cSchedule *schedules, const cEvent *Start, bool inspectTimerMargin = false); + const cChannel *ChannelMin(void) { return channelMin; } + const cChannel *ChannelMax(void) { return channelMax; } + const cEvent * GetEventBySearchExt(const cSchedule *schedules, const cEvent *Start, bool inspectTimerMargin = false); bool MatchesExtEPGInfo(const cEvent* e); const char *ToText(); bool Parse(const char *s); @@ -199,8 +199,8 @@ public: cSearchResults* GetBlacklistEvents(int MarginStop = 0); void OnOffTimers(bool); void DeleteAllTimers(); - cTimerObjList* GetTimerList(cTimerObjList* timerList); - int GetCountRecordings(); + cTimerObjList* GetTimerList(const cTimers* vdrtimers, cTimerObjList* timerList); + int GetCountRecordings(cRecordings *vdrrecordings); bool IsActiveAt(time_t t); bool HasContent(int contentID); void SetContentFilter(int* contentStringsFlags); |