mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed lock handling in CAM communication to avoid problems with multiple CAMs per device or CAMs with more than one smart card
This commit is contained in:
8
ci.h
8
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.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;
|
||||
|
Reference in New Issue
Block a user