From 78d85cee06c99ff4d31e8a2af929b198824b68d9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 18 Apr 2003 12:48:49 +0200 Subject: Now only those Ca descriptors are sent to a CAM that are actually understood by that CAM --- ci.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ci.h') diff --git a/ci.h b/ci.h index a9f27f1e..0c247f82 100644 --- a/ci.h +++ b/ci.h @@ -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); }; -- cgit v1.2.3