diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-04-18 12:48:49 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-04-18 12:48:49 +0200 |
commit | 78d85cee06c99ff4d31e8a2af929b198824b68d9 (patch) | |
tree | de67041cb2b97c2cb368eade34a7216575efdc81 /ci.h | |
parent | b57eae00d387e24f0dc1882efeb7ecf070957cf7 (diff) | |
download | vdr-78d85cee06c99ff4d31e8a2af929b198824b68d9.tar.gz vdr-78d85cee06c99ff4d31e8a2af929b198824b68d9.tar.bz2 |
Now only those Ca descriptors are sent to a CAM that are actually understood by that CAM
Diffstat (limited to 'ci.h')
-rw-r--r-- | ci.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.h 1.4 2003/03/23 15:18:40 kls Exp $ + * $Id: ci.h 1.5 2003/04/18 12:41:48 kls Exp $ */ #ifndef __CI_H @@ -81,6 +81,7 @@ private: cMutex mutex; int numSlots; bool enabled; + bool newCaSupport; cCiSession *sessions[MAX_CI_SESSION]; cCiTransportLayer *tpl; cCiTransportConnection *tc; @@ -96,12 +97,14 @@ private: public: ~cCiHandler(); static cCiHandler *CreateCiHandler(const char *FileName); + int NumSlots(void) { return numSlots; } void SetEnabled(bool Enabled) { enabled = Enabled; } bool Process(void); bool EnterMenu(int Slot); cCiMenu *GetMenu(void); cCiEnquiry *GetEnquiry(void); - bool SetCaPmt(cCiCaPmt &CaPmt); + const unsigned short *GetCaSystemIds(int Slot); + bool SetCaPmt(cCiCaPmt &CaPmt, int Slot); bool Reset(int Slot); }; |