summaryrefslogtreecommitdiff
path: root/epg_events.cpp
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2015-02-13 23:46:21 +0100
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2015-02-13 23:48:24 +0100
commit6ea279a74a84b13aa72237448c9ed848c8fdcad4 (patch)
treed4a6b12361434f5d73b9073ce8c8d741e5129a90 /epg_events.cpp
parente95718213bcaaa659b9b40dc54ff33d215bc3cb7 (diff)
downloadvdr-plugin-live-6ea279a74a84b13aa72237448c9ed848c8fdcad4.tar.gz
vdr-plugin-live-6ea279a74a84b13aa72237448c9ed848c8fdcad4.tar.bz2
Removed all conditional compilation based on VDRVERSNUM. The youngest
VDRVERSNUM-check was for 10728. So all VDR versions less or equal 10728 are not supported any more now.
Diffstat (limited to 'epg_events.cpp')
-rw-r--r--epg_events.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/epg_events.cpp b/epg_events.cpp
index 1bf8935..9e35f79 100644
--- a/epg_events.cpp
+++ b/epg_events.cpp
@@ -183,18 +183,11 @@ namespace vdrlive
time_t EpgRecording::GetStartTime() const
{
-#if VDRVERSNUM < 10726
- return m_recording ? m_recording->start : 0;
-#else
return m_recording ? m_recording->Start() : 0;
-#endif
}
time_t EpgRecording::GetEndTime() const
{
-#if VDRVERSNUM < 10726
- return m_recording ? m_recording->start : 0;
-#else
time_t endTime = 0;
if (m_recording)
{
@@ -204,12 +197,10 @@ namespace vdrlive
endTime = (length < 0) ? startTime : startTime + length;
}
return endTime;
-#endif
}
int EpgRecording::Elapsed() const
{
-#if VDRVERSNUM >= 10726
cControl* pControl = cControl::Control();
if (pControl)
{
@@ -222,7 +213,6 @@ namespace vdrlive
}
}
}
-#endif
return 0;
}