diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2015-02-13 23:46:21 +0100 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2015-02-13 23:48:24 +0100 |
commit | 6ea279a74a84b13aa72237448c9ed848c8fdcad4 (patch) | |
tree | d4a6b12361434f5d73b9073ce8c8d741e5129a90 /tasks.cpp | |
parent | e95718213bcaaa659b9b40dc54ff33d215bc3cb7 (diff) | |
download | vdr-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 'tasks.cpp')
-rw-r--r-- | tasks.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -19,11 +19,7 @@ using namespace std::tr1::placeholders; const char* NowReplaying() { -#if VDRVERSNUM >= 10403 return cReplayControl::NowReplaying(); -#else - return cControl::Control()?cReplayControl::LastReplayed():NULL; -#endif } StickyTask::StickyTask() @@ -60,15 +56,9 @@ void PlayRecordingTask::Action() const char *current = NowReplaying(); if (!current || (0 != strcmp(current, recording->FileName()))) { -#if VDRVERSNUM >= 10728 cReplayControl::SetRecording( 0 ); cControl::Shutdown(); cReplayControl::SetRecording( recording->FileName() ); -#else - cReplayControl::SetRecording( 0, 0 ); - cControl::Shutdown(); - cReplayControl::SetRecording( recording->FileName(), recording->Title() ); -#endif cControl::Launch( new cReplayControl ); cControl::Attach(); } @@ -128,11 +118,7 @@ void StopRecordingTask::Action() return; } -#if VDRVERSNUM >= 10728 cReplayControl::SetRecording( 0 ); -#else - cReplayControl::SetRecording( 0, 0 ); -#endif cControl::Shutdown(); } |