summaryrefslogtreecommitdiff
path: root/dynamicdevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'dynamicdevice.c')
-rw-r--r--dynamicdevice.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/dynamicdevice.c b/dynamicdevice.c
index c17f9bc..21768c5 100644
--- a/dynamicdevice.c
+++ b/dynamicdevice.c
@@ -951,14 +951,14 @@ bool cDynamicDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
return cDevice::SetChannelDevice(Channel, LiveView);
}
-bool cDynamicDevice::HasLock(int TimeoutMs)
+bool cDynamicDevice::HasLock(int TimeoutMs) const
{
if (subDevice)
return subDevice->HasLock(TimeoutMs);
return cDevice::HasLock(TimeoutMs);
}
-bool cDynamicDevice::HasProgramme(void)
+bool cDynamicDevice::HasProgramme(void) const
{
if (subDevice)
return subDevice->HasProgramme();
@@ -1230,6 +1230,13 @@ bool cDynamicDevice::GetTSPacket(uchar *&Data)
return cDevice::GetTSPacket(Data);
}
+void cDynamicDevice::DetachAllReceivers(void)
+{
+ if (subDevice)
+ return subDevice->DetachAllReceivers();
+ cDevice::DetachAllReceivers();
+}
+
#ifdef YAVDR_PATCHES
//opt-44_rotor.dpatch
bool cDynamicDevice::SendDiseqcCmd(dvb_diseqc_master_cmd cmd)