summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-08-26 13:59:37 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-08-26 13:59:37 +0200
commit5d0410de3e73dacbc96f7e1919d8ea83c8368e68 (patch)
tree8da4f1e2b65e68d1c1d6c6cfb919b466e99f1e9b /device.h
parent4986f76b0a40e11997e572a75260034063023cb0 (diff)
downloadvdr-5d0410de3e73dacbc96f7e1919d8ea83c8368e68.tar.gz
vdr-5d0410de3e73dacbc96f7e1919d8ea83c8368e68.tar.bz2
Added cDevice::HasInternalCam()
Diffstat (limited to 'device.h')
-rw-r--r--device.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/device.h b/device.h
index 89a65694..1f945218 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 2.40 2012/08/26 12:56:14 kls Exp $
+ * $Id: device.h 2.41 2012/08/26 13:25:44 kls Exp $
*/
#ifndef __DEVICE_H
@@ -415,6 +415,12 @@ private:
public:
virtual bool HasCi(void);
///< Returns true if this device has a Common Interface.
+ virtual bool HasInternalCam(void) { return false; }
+ ///< Returns true if this device handles encrypted channels itself
+ ///< without VDR assistance. This can be e.g. if the device is a
+ ///< client that gets the stream from another VDR instance that has
+ ///< already decrypted the stream. In this case ProvidesChannel()
+ ///< shall check whether the channel can be decrypted.
void SetCamSlot(cCamSlot *CamSlot);
///< Sets the given CamSlot to be used with this device.
cCamSlot *CamSlot(void) const { return camSlot; }