From eaa015874e3e494006d67260feaebe6377568ebb Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sat, 1 Apr 2017 23:17:15 +0300 Subject: VDR-2.3.1 compatibility patch by Nachteule. http://www.vdr-portal.de/board16-video-disk-recorder/board55-vdr-plugins/p1280013-vdr-live-vdr-2-3-1/#post1280013 --- timers.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'timers.h') diff --git a/timers.h b/timers.h index 4ad8a7f..10395ef 100644 --- a/timers.h +++ b/timers.h @@ -23,7 +23,11 @@ namespace vdrlive { static std::string EncodeDomId(std::string const& timerid); static std::string DecodeDomId(std::string const &timerDomId); +#if VDRVERSNUM >= 20301 + bool Modified() { return true; } +#else bool Modified() { return Timers.Modified(m_state); } +#endif static std::string GetTimerDays(cTimer const& timer); static std::string GetTimerInfo(cTimer const& timer); -- cgit v1.2.3