diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-30 13:21:23 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-30 13:21:23 +0100 |
commit | 6e982f765eb538e16cfe2fe0320edbe20073c701 (patch) | |
tree | d12d0e22ab05591352b30ba3c6fcdc99c46f851f /ci.h | |
parent | 3c59953017bada3f3b5ac05dfba602ddb5fe87df (diff) | |
download | vdr-6e982f765eb538e16cfe2fe0320edbe20073c701.tar.gz vdr-6e982f765eb538e16cfe2fe0320edbe20073c701.tar.bz2 |
Fixed lock handling in CAM communication to avoid problems with multiple CAMs per device or CAMs with more than one smart card
Diffstat (limited to 'ci.h')
-rw-r--r-- | ci.h | 8 |
1 files changed, 5 insertions, 3 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.17 2005/10/03 12:49:52 kls Exp $ + * $Id: ci.h 1.18 2005/10/30 12:31:14 kls Exp $ */ #ifndef __CI_H @@ -17,11 +17,12 @@ class cCiMMI; class cCiMenu { + friend class cCiHandler; friend class cCiMMI; private: enum { MAX_CIMENU_ENTRIES = 64 }; ///< XXX is there a specified maximum? cCiMMI *mmi; - cMutex mutex; + cMutex *mutex; bool selectable; char *titleText; char *subTitleText; @@ -45,10 +46,11 @@ public: }; class cCiEnquiry { + friend class cCiHandler; friend class cCiMMI; private: cCiMMI *mmi; - cMutex mutex; + cMutex *mutex; char *text; bool blind; int expectedLength; |